kubectl get secrets
Jump to navigation
Jump to search
kubectl get secrets kubectl get secret
kubectl get secrets NAME TYPE DATA AGE default-token-bpnxd kubernetes.io/service-account-token 3 3y220d letsencrypt-yourprod Opaque 1 3y179d your-token-xstbs kubernetes.io/service-account-token 3 573d
kubectl get secrets -n kube-system
Related commands
kubectl create secret
kubectl describe secrets/MY_SECRET_NAME
Activities
See also
- Kubernetes secrets:
kubectl [ get | create | describe | delete | secret ] secrets
,secret.yml, kind: Secret, secretKeyRef, default-token, imagePullSecrets:, kubernetes.io/dockerconfigjson
- Secrets: Kubernetes secrets,
ansible-vault
, Hashicorp Vault, AWS Secrets Manager, Google Secret Manager,git-crypt
, SOPS: Secrets OPerationS, Google Cloud Secret Manager, GitHub secret scanning alerts kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: