kubectl describe secret

From wikieduonline
(Redirected from Describe secret)
Jump to navigation Jump to search

kubectl describe secret
kubectl describe secrets
kubectl describe secret YourSecretName
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep service-controller-token | awk '{print $1}')

kubectl describe secrets -n kubernetes-dashboard
kubectl describe secret YourSecretName -n your-namespace
Name:         YourSecretName
Namespace:    your-namespace
Labels:       cert-manager.io/next-private-key=true
Annotations:  <none>

Type:  Opaque

tls.key:  1704 bytes


See also[edit]