Difference between revisions of "Kubectl create secret"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[kubectl create]] secret</code> | * <code>[[kubectl create]] secret</code> | ||
* <code>[[kubectl create secret generic -h]]</code> | * <code>[[kubectl create secret generic -h]]</code> | ||
+ | * <code>[[kubectl create secret docker-registry -h]]</code> | ||
+ | * <code>[[kubectl create secret tls -h]]</code> | ||
** https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/ | ** https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/ | ||
Revision as of 06:35, 5 July 2022
kubectl create secret
kubectl create secret generic -h
kubectl create secret docker-registry -h
kubectl create secret tls -h
kubectl create secret --help Create a secret using specified subcommand. Available Commands: docker-registry Create a secret for use with a Docker registry generic Create a secret from a local file, directory, or literal value tls Create a TLS secret Usage: kubectl create secret [flags] [options] Use "kubectl <command> --help" for more information about a given command. Use "kubectl options" for a list of global command-line options (applies to all commands).
Related commands
kubectl get secrets
kubectl describe secrets/MY_SECRET_NAME
secret.yml
ansible-vault encrypt
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: