Skip to main content
Version: main 🚧

What are Secrets

What are Secrets?​

Like Kubernetes secrets, vCluster Platform secrets hold confidential data as key/value pairs. The platform manages secret data at the project level and controls which users and teams can access it. It also syncs that data into the clusters that belong to the project. After you create a project secret, you create a native Kubernetes secret with a label that tells the platform which project secret to sync from. Pods mount the native secret as usual, while you manage the data in one place.

Project Secrets​

Project secrets are scoped to a Project, and implicitly only allow access to members of the project. Once a project secret is created, native Kubernetes secrets that synchronize to the project secret can be created in spaces and clusters that belong to the project. This provides a convenient way to manage secret data for all members of the project. For more information on creating project secrets, see creating project secrets

Share secrets across projects​

Shared secrets, called Global Secrets in the UI, were removed in v5.0. After the upgrade, project secrets that were linked to a shared secret keep their last synced data and no longer update. The same applies to Kubernetes Secrets that a shared secret synced into namespaces. To manage the same secret data across several projects, use an external secret store with the External Secrets Operator, and scope access with path-level policies in that store. To keep using shared secrets, stay on the v4.12 LTS release.