Difference between revisions of "Kubernetes secrets"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
* <code>[[kubectl get secret]]</code>
 
* <code>[[kubectl get secret]]</code>
 
* <code>[[kubectl get secrets]]</code>
 
* <code>[[kubectl get secrets]]</code>
 +
* <code>[[kubectl get secrets -A]]</code>
 
* <code>[[kubectl describe]] secrets/MY_SECRET_NAME</code>
 
* <code>[[kubectl describe]] secrets/MY_SECRET_NAME</code>
 
* <code>[[kubectl apply]] -f ./[[secret.yml]]</code>
 
* <code>[[kubectl apply]] -f ./[[secret.yml]]</code>

Revision as of 18:51, 21 October 2023

https://kubernetes.io/docs/concepts/configuration/secret/

Kubernetes Secret Types:

Opaque	                                 arbitrary user-defined data
kubernetes.io/service-account-token	ServiceAccount token
kubernetes.io/dockercfg	                serialized ~/.dockercfg file
kubernetes.io/dockerconfigjson	        serialized ~/.docker/config.json file
kubernetes.io/basic-auth	        credentials for basic authentication
kubernetes.io/ssh-auth	                credentials for SSH authentication
kubernetes.io/tls	                data for a TLS client or server
bootstrap.kubernetes.io/token	        bootstrap token data
istio.io/key-and-cert

Examples


Related terms

Activities

News

See also

Advertising: