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> | ||
* https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/ | * https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/ | ||
+ | |||
+ | 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 == | == Related commands == |
Revision as of 06:30, 5 July 2022
kubectl create secret
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
Activities
See also
- 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 - Kubernetes secrets:
kubectl [ get | create | describe | delete | secret ] secrets
,secret.yml, kind: Secret, secretKeyRef, default-token, imagePullSecrets:, kubernetes.io/dockerconfigjson
Advertising: