Difference between revisions of "Kubernetes secrets"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
* <code>[[kubectl edit secrets]]</code> | * <code>[[kubectl edit secrets]]</code> | ||
* <code>[[kubectl describe secret]] -n [[kubernetes-dashboard]]</code> | * <code>[[kubectl describe secret]] -n [[kubernetes-dashboard]]</code> | ||
+ | * <code>[[kubectl describe secret default-token]]<>/code | ||
== Related terms == | == Related terms == |
Revision as of 14:20, 7 October 2022
https://kubernetes.io/docs/concepts/configuration/secret/
Examples
kubectl create secret
,kubectl get secrets
,kubectl describe secrets/MY_SECRET_NAME
kubectl apply secret.yml
kubectl describe secrets/MY_SECRET_NAME
kubectl create secret
kubectl get secret
kubectl get secrets
kubectl describe secrets/MY_SECRET_NAME
kubectl apply -f ./secret.yml
kubectl apply -k
kubectl edit secrets
kubectl describe secret -n kubernetes-dashboard
kubectl describe secret default-token<>/code
Related terms
Activities
- Delete and recreate your secret
- Learn about different
kind: Secret
types.
News
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
Advertising: