Secrets are private or otherwise sensitive pieces of data such as credentials, access keys, and tokens. Utilizing secrets gives you a much more secure option for storing your sensitive data compared to textual configuration definitions. You create secrets using the Kubernetes CLI, providing name, type, and data parameters.
Managing secrets with GKE
Creating/Storing secrets
kubectl create secret generic creds --from-literal=username=bobsmith --from-literal=password=p@ssw0rd
Most secrets, like credentials, will be generically typed and contain textual data. In addition to being able to create secrets from literals, you also have the ability to create them from text files. When using files as the basis for your secrets, the key...