Skip to main content
Feedback

Secret management

Secret management in MCP Gateway allows admins to provision credentials for MCP servers directly from your Kubernetes cluster. The control plane and admin user interface have visibility only into secret names and key names, never the secret values themselves. Those values are injected directly into the MCP servers within the cluster, without being exposed outside the runtime environment.

How secret management works

The Secrets page in the MCP Gateway control plane displays the Kubernetes secrets available within your deployment namespace. Admins can assign individual secret keys to one or more profiles.

At deployment time, those assigned keys are injected into the relevant MCP servers. Secret values flow directly from the Kubernetes Secret into the MCP server runtime, without passing through the MCP Gateway control plane. The control plane never accesses or stores the secret values themselves.

A user's profile determines their access to a secret. Group synchronization from your IdP manages profile membership, creating an access chain of user → group → profile → secret. Refer to Centralized user management, for more information about how profiles and groups are defined and managed.

Benefits

  • Keeps all credentials inside your controlled infrastructure.
  • Supports integration with existing enterprise secret management tools.
  • Enables scoped, auditable access to sensitive data.
  • Reduces the risk of credential leaks or configuration drift.
  • Restrict access by role. Use centralized user management to control which users or agents can access credentials for specific tools or servers.
  • Bring your own secret manager. Seamless integration with your vault.
On this Page