Difference between revisions of "Kubectl create secret"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* <code>[[secret.yml]]</code> | * <code>[[secret.yml]]</code> | ||
* <code>[[ansible-vault encrypt]]</code> | * <code>[[ansible-vault encrypt]]</code> | ||
+ | * <code>[[kubectl apply -f ./secret.yaml]]</code> | ||
== Activities == | == Activities == |
Revision as of 10:38, 26 August 2022
kubectl create secret
kubectl create secret generic -h
kubectl create secret docker-registry -h
kubectl create secret tls -h
kubectl create secret --help
Related commands
kubectl get secrets
kubectl describe secrets/MY_SECRET_NAME
secret.yml
ansible-vault encrypt
kubectl apply -f ./secret.yaml
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
Advertising: