castai-security-basics

Featured

Secure CAST AI API keys, RBAC configuration, and Kvisor security agent. Use when hardening CAST AI cluster access, configuring security scanning, or implementing API key rotation procedures. Trigger with phrases like "cast ai security", "cast ai api key rotation", "cast ai rbac", "cast ai kvisor", "secure cast ai".

AI & Automation 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# CAST AI Security Basics ## Overview Secure your CAST AI integration: API key management, RBAC least-privilege, Kvisor runtime security agent, and network policy configuration. ## Prerequisites - CAST AI agent installed on cluster - Cluster admin access for RBAC configuration - Secrets manager (AWS Secrets Manager, Vault, etc.) ## Instructions ### Step 1: API Key Management ```bash # Use separate keys per environment # console.cast.ai > API > API Access Keys # Development: Read-Only key (monitoring only) # Staging: Full Access key with limited cluster scope # Production: Full Access key, rotated every 90 days # Store in secrets manager, never in code aws secretsmanager create-secret \ --name "castai/prod/api-key" \ --secret-string "${CASTAI_API_KEY}" # Rotate key procedure: # 1. Generate new key in console # 2. Update secrets manager # 3. Restart CAST AI agent pods to pick up new key # 4. Verify agent reconnects # 5. Revoke old key in console ``` ### Step 2: RBAC Least-Privilege Review ```bash # Audit CAST AI ClusterRoles kubectl get clusterroles -l app.kubernetes.io/managed-by=castai -o yaml # The CAST AI agent needs these minimum permissions: # - get/list/watch: pods, nodes, events, namespaces, replicasets # - get: persistentvolumes, storageclasses # The cluster controller additionally needs: # - create/delete: nodes (for autoscaling) # - patch: pods/eviction (for evictor) # Check for overly broad permissions kubectl auth can-i --list --as=system:servicea...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category