You can check the existing secret .kubectl get secret
There are two data entries displayed, kubectl describe secret
check the Key of the entry:
If you also want to view the Value, you can use kubectl edit secret mysecret
:
Then unencode the Value via base64:
Learn how to use Secrets in Pods in the next section.
books:
1. "Play Kubernetes for 5 minutes a day"
https://item.jd.com/26225745440.html
2. "Fun with Docker container technology for 5 minutes a day"
https://item.jd.com/16936307278.html
3. "Fun with OpenStack for 5 minutes a day"
https://item.jd.com/12086376.html