Kubernetes Secrets

credentials

User and Password

1
kubectl create secret generic prod-db-secret --from-literal=key=xxx --from-literal=value=xxx

SSH Keys

1
kubectl create secret generic ssh-key-secret --from-file=ssh-privatekey=/path/to/.ssh/id_rsa --from-file=ssh-publickey=/path/to/.ssh/id_rsa.pub

EncryptionConfig