Skip to content

Instantly share code, notes, and snippets.

@iambryancs
Created October 3, 2023 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iambryancs/fa4051f2cd828f58c04fc968b546a28e to your computer and use it in GitHub Desktop.
Save iambryancs/fa4051f2cd828f58c04fc968b546a28e to your computer and use it in GitHub Desktop.
Get ArgoCD default admin password

Get ArgoCD default admin password

To get ArgoCD default admin password after installation, run:

kubectl -n argocd get secret argocd-initial-admin-secret \
          -o jsonpath="{.data.password}" | base64 -d; echo

The default admin user is admin.

@jhoelzel
Copy link

jhoelzel commented Apr 3, 2024

powershell

kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | 
    ForEach-Object { [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($_)) };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment