Shared Secrets#

You may have a need to use secrets provided for you by your cluster administrators. “Shared secrets” are most commonly used for s3 credentials. These secrets are stored in a shared location within your cluster and can be added as shared secrets. To add a shared secret, you’ll need the following information:

  1. The cluster in which the secret lives

  2. The namespace in which the secret lives

  3. Finally, the name of the secret

Once you have this information, you can add the secret using:

> mcli create secret shared --name <name> --cluster <cluster> --namespace <namespace>
✔  Copying existing secret: <name>

This will copy the secret from the shared store and sync it across all of your clusters, making it available to any workloads you launch in the future.