ArgoCD CLI authentication with SSO. Provides argocd login command, gRPC-Web configuration, and post-login operations. Use when user mentions ArgoCD login, argocd authentication, SSO auth, or accessing ArgoCD applications and clusters.
View on GitHublaurigates/claude-plugins
kubernetes-plugin
January 24, 2026
Select agents to install to:
npx add-skill https://github.com/laurigates/claude-plugins/blob/main/kubernetes-plugin/skills/argocd-login/SKILL.md -a claude-code --skill argocd-loginInstallation paths:
.claude/skills/argocd-login/# ArgoCD CLI Login ArgoCD CLI authentication with SSO for the Data Portal cluster. ## When to Use Use this skill automatically when: - User requests ArgoCD login or authentication - User mentions accessing ArgoCD cluster or applications - User needs to interact with ArgoCD CLI tools - Authentication errors occur when using ArgoCD commands ## Authentication Command ```bash argocd login argocd.dataportal.fi --grpc-web --sso ``` ### Command Breakdown - `argocd.dataportal.fi` - Data Portal ArgoCD server endpoint - `--grpc-web` - Enable gRPC-Web protocol (required for web-based SSO) - `--sso` - Use Single Sign-On authentication (opens browser for OAuth2 flow) ## Usage Flow 1. **Detect authentication need:** - User explicitly requests login - ArgoCD command fails with authentication error - User mentions accessing ArgoCD cluster 2. **Execute login command:** ```bash argocd login argocd.dataportal.fi --grpc-web --sso ``` 3. **Guide user through SSO:** - Command will open browser automatically - User completes SSO authentication in browser - CLI receives token upon successful authentication - Session is stored in `~/.config/argocd/config` 4. **Verify authentication:** ```bash argocd account get-user-info ``` ## Common ArgoCD Operations (Post-Login) ### Application Management ```bash # List applications argocd app list # Get application details argocd app get <app-name> # Sync application argocd app sync <app-name> # View application resources argocd app resources <app-name> ``` ### Cluster Information ```bash # List clusters argocd cluster list # Get cluster info argocd cluster get <cluster-name> ``` ### Project Management ```bash # List projects argocd proj list # Get project details argocd proj get <project-name> ``` ## Authentication Session - **Session storage:** `~/.config/argocd/config` - **Session persistence:** Tokens have configurable expiration - **Re-authentication:** Run login command again when sessi