Skip to content

ArgoCD initial admin authentication

ArgoCD generates a default admin user for initial access to its UI and API.^[400-devops__04-CI-CD-Pipelines__ArgoCD.md] The credentials for this account are stored automatically as a Kubernetes Secret within the ArgoCD namespace upon installation.^[400-devops__04-CI-CD-Pipelines__ArgoCD.md]

Retrieving the Password

To log in for the first time, you must retrieve the plaintext password from the argocd-initial-admin-secret secret object using kubectl.^[400-devops__04-CI-CD-Pipelines__ArgoCD.md]

Execute the following command to decode and display the password:^[400-devops__04-CI-CD-Pipelines__ArgoCD.md]

[kubectl](<./kubectl.md>) -n [ArgoCD](<./argocd.md>) get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo

Sources

^[400-devops__04-CI-CD-Pipelines__ArgoCD.md]