Managing Plane secrets with HashiCorp Vault or AWS Secrets Manager: when teams need it
A platform or security team running self-hosted Plane on Kubernetes needs to keep database, RabbitMQ and object storage credentials out of Helm values files and version control. Plane's external secrets guide describes the External Secrets pattern: the credentials live in a dedicated secret manager, and the cluster reads them at deploy time through a Kubernetes secret instead of having them typed into a values file. The same values file can then be reviewed, copied between environments and committed without exposing passwords. Plane's external secrets documentation includes worked examples for AWS Secrets Manager and HashiCorp Vault, including storing the RabbitMQ credentials as a secret, so the team can follow a documented path rather than design one.
Choose AWS Secrets Manager when the cluster, the managed PostgreSQL and the S3 bucket already run in one AWS account and the team wants IAM to control access. Plane's AWS example uses a dedicated IAM user and an assumable role whose policy grants secretsmanager:GetResourcePolicy, GetSecretValue, DescribeSecret and ListSecretVersionIds. Those are read-only actions, so confirm that the role cannot also write or delete secrets. Choose Vault or its open-source fork OpenBao when secrets must span several clouds or data centers, when dynamic database credentials are required, or when the security team already runs a Vault service. Confirm with your own security team which of these matches your audit evidence and key management requirements before you commit to either.
Choosing between AWS Secrets Manager and Vault for Plane
If your Plane cluster runs in AWS and your organization already uses AWS Secrets Manager, the simplest path is to keep secrets in the service you already audit, back up and grant access to. Plane's external secrets guidance includes a worked AWS example that uses a dedicated IAM user and an assumable role. The role's policy allows secretsmanager:GetResourcePolicy, secretsmanager:GetSecretValue, secretsmanager:DescribeSecret and secretsmanager:ListSecretVersionIds, and the IAM user is limited to assuming that role.
- Existing operating model: your cloud team already manages IAM, key policies, CloudTrail logging and secret rotation for this account.
- Role separation: the IAM user holds only the permission to assume the role, and the role holds only the secret read actions Plane needs.
- Scope of access: restrict the resource ARNs to the Plane secrets, not to all secrets in the account.
- Cost model: Secrets Manager charges are billed through your AWS account. Confirm current pricing with AWS, since it is not covered here.
- Cluster identity: confirm with your platform team whether pods will reach the secrets through an existing workload identity mechanism or through the IAM user pattern in Plane's example.
Before you commit, check that your security team accepts the IAM user pattern, since long-lived user credentials may conflict with your own standards for workload identity.
If Plane runs across several clouds or in your own data centers, a single secret manager that is independent of any one provider usually reduces the number of separate policies you must maintain. HashiCorp Vault is the documented example in Plane's external secrets guidance. OpenBao is an open-source fork of Vault that is stewarded by the Linux Foundation's OpenSSF, and it uses the same general model for auth methods and policies. Whichever product you choose, the Kubernetes cluster must be able to authenticate to it and read only the Plane paths.
- Vault or OpenBao: you need an operated server or cluster of the secret manager, with its own storage backend, high availability and upgrade plan.
- Auth method: Kubernetes or JWT/OIDC auth methods are the usual choices for pods, while AppRole is documented for servers.
- Policy scope: write policies that allow reads on the Plane paths only.
- Licensing: Vault and OpenBao differ in license and governance. OpenBao is MPL-2.0 licensed, and you should confirm the current Vault license terms with HashiCorp before choosing.
- Operations load: a secret manager becomes a tier-one dependency, so budget for its backups, unseal procedures and monitoring.
Confirm with your security team whether you already run a secret manager that meets your audit and key management requirements. If you do, reuse it rather than standing up a second one for Plane alone.
Both options deliver the same Plane outcome: database, RabbitMQ and storage credentials stay out of Helm values and are read at runtime through the External Secrets pattern. The difference lies in what your organization must already operate. A managed AWS service shifts patching and availability to AWS, while a Vault or OpenBao deployment shifts those duties to your team. Use the factors below to match the choice to your estate.
- Operational ownership: who patches, backs up and unseals the secret store, and who is on call for it.
- Audit and logging: whether the logs your auditors need already flow from the store you pick.
- Rotation support: confirm which rotation workflows your chosen store supports for each Plane credential.
- Exit path: how hard it would be to move secrets later if your estate changes.
- Skills on the team: whether engineers already know the IAM or the Vault policy model well enough to review changes.
Ask your platform and security leads which of these factors they must satisfy, and document the answer before you write any policies.
What the AWS Secrets Manager IAM policy must allow
The documented Plane example for AWS Secrets Manager uses two identities: a dedicated IAM user that holds no secret permissions of its own, and an IAM role that user can assume. The role's policy allows secretsmanager:GetResourcePolicy, secretsmanager:GetSecretValue, secretsmanager:DescribeSecret and secretsmanager:ListSecretVersionIds. These four actions are read-only. They let the External Secrets controller discover a secret, check its metadata and versions, and fetch its value. Nothing in that set creates, updates, deletes or re-tags a secret, so a compromised controller cannot change the database or RabbitMQ credentials Plane depends on. Confirm that your policy contains only these four actions and no wildcards such as secretsmanager:*.
Scope the resource element to the exact secret ARNs that Plane reads, such as the PostgreSQL, RabbitMQ and object storage credentials, instead of "Resource": "*". Secrets Manager ARNs end in a random suffix, so use the full ARN from the console or aws secretsmanager describe-secret rather than a partial pattern. Keep the user itself free of broad permissions: it should only hold sts:AssumeRole on the reader role, and the role's trust policy should name only that user or the identity your cluster uses. Note that GetSecretValue on a customer-managed KMS key also requires kms:Decrypt on that key, so check that the key policy grants it to the role and nothing else.
Before you apply the policy, check it against your organization's IAM standards. Ask your security or cloud team whether they require permission boundaries, a naming convention for roles, access reviews, or a separate account for shared secrets. Ask whether long-lived access keys for the IAM user are allowed at all, or whether the cluster should use IAM Roles for Service Accounts or EKS Pod Identity instead. Then test the boundary: assume the role and confirm that reads of the Plane secrets succeed, while a write attempt and a read of an unrelated secret both fail. Record the policy and the test output as evidence for your access reviews.
Secret store options and when each fits
This table compares AWS Secrets Manager, HashiCorp Vault and OpenBao as the store behind Plane's database, RabbitMQ and storage credentials. Read each row against where your secrets must live, who will run the store, and how much operating work your team can absorb. The main takeaway is that the choice is mostly about hosting location and operating model, and the Plane external secrets pattern works with the store you already run.
| Factor | AWS Secrets Manager | HashiCorp Vault | OpenBao |
|---|---|---|---|
| Where the store runs | AWS-managed service, reached through AWS APIs from your cluster | Self-managed in your infrastructure or a hosted offering from the vendor, confirm which applies to you | Self-managed in infrastructure you control |
| Who operates it | AWS operates the service; your team owns IAM policies, secret names and rotation settings | Your team operates the cluster, storage backend, unseal process and upgrades | Your team operates the cluster, storage backend, unseal process and upgrades |
| Plane documented example | Yes. Plane's external secrets guide includes an AWS Secrets Manager worked example with a dedicated IAM user and assumable role | Yes. Plane's external secrets guide includes a HashiCorp Vault worked example, including storing RabbitMQ credentials as a secret | Not a separate Plane example in the sources. Confirm the Vault-compatible steps with your OpenBao version before relying on them |
| Licensing and governance | Proprietary AWS service. Confirm pricing and terms with AWS for your account | Proprietary product from HashiCorp. Confirm current license terms for your use | Open source under MPL-2.0, a fork of Vault, a Sandbox project of OpenSSF under Linux Foundation stewardship |
| Auth methods available | AWS IAM through the Plane example's role and policy | Multiple methods including AppRole, Kubernetes, JWT/OIDC and TLS certificates | Same method family as Vault, including AppRole for servers and Kubernetes auth. Confirm each method in your version |
| Operational burden | Lower for the store itself, but IAM policy design and rotation coordination remain yours | Higher. Storage backend, HA, unseal and upgrades are yours to run | Higher, with the same work as Vault. Confirm HA and storage choices against the OpenBao HA docs |
| Fits best when | Your Plane runs on AWS and your security team already governs AWS IAM | You already run Vault and want Plane to use the same store and policies | You must keep secrets in your own infrastructure under an open-source governance model and have the team to run it |
Setting up External Secrets for Plane on Kubernetes
This sequence moves Plane's database, RabbitMQ and storage credentials out of Helm values and into a secret manager, so Kubernetes receives them as synced secrets that Plane reads at runtime. Each step ends with a check that confirms the result without printing any secret value.
Create the credentials in the secret manager
Your platform or security team creates one secret per credential group in AWS Secrets Manager or HashiCorp Vault (or OpenBao): the PostgreSQL user and password, the RabbitMQ user and password, and the S3-compatible storage access keys. Use a naming convention that separates each Plane environment, and record the secret paths in your change record. Confirm each secret exists by listing its name or path and checking its version metadata. Do not paste values into tickets or shell history.
Create the IAM role or Vault auth method and policy
For AWS, create a dedicated IAM user (or trusted identity) that can assume a role whose policy allows secretsmanager:GetResourcePolicy, GetSecretValue, DescribeSecret and ListSecretVersionIds, scoped to the Plane secret ARNs only. For Vault or OpenBao, enable a Kubernetes or AppRole auth method, then write a read-only policy on the Plane secret path. Confirm the policy with a dry-run read from the role or auth method, checking that it returns the secret but that a secret outside Plane's path is denied.
Install the External Secrets Operator
A cluster administrator installs the External Secrets Operator into its own namespace using the chart version your cluster policy approves, and confirms its custom resource definitions are registered. The operator runs with its own service account and needs no Plane credentials. Verify the installation by checking that the operator pod is running and that the SecretStore and ExternalSecret resource types are available through the API server.
Define the SecretStore for your provider
Create a SecretStore (or ClusterSecretStore) that points at AWS Secrets Manager or Vault. For AWS, reference the region and the Kubernetes service account that the operator uses to assume the role from the previous step. For Vault, reference the server address, the mount path and the auth method. Confirm the store reports a ready status with its conditions. A failed status usually means a trust policy, auth role or network path problem, so check those before changing the store definition.
Define the ExternalSecret resources
Create an ExternalSecret for each credential group that maps the remote keys to the keys Plane expects in the Kubernetes secret. Set a refresh interval that matches your rotation policy. Keep the target secret name consistent with the name you will reference in the Helm values. Confirm each ExternalSecret reports a synced condition, then check that the generated Kubernetes secret exists and lists its key names. Use a command that shows key names only, not decoded data.
Point the Plane Helm values at the synced secrets
In the plane-enterprise values file, remove the inline database, RabbitMQ and storage credentials and reference the generated Kubernetes secret names and keys instead. Confirm the chart version and PLANE_VERSION you are deploying, then run a Helm template or diff against the release so you can review the rendered references before applying. Check that no plaintext credential remains in the values file or the rendered manifests.
Rotate credentials and verify Plane reads them
Rotate one credential in the secret manager, then confirm the ExternalSecret resynchronizes within its refresh interval and the Kubernetes secret version changes. Plane may need a pod restart to pick up new values, so confirm that against the chart documentation for your version before relying on live rotation. After the restart, check that Plane pods start, the health endpoint responds, and the database, RabbitMQ and storage connections succeed in the logs without printing credentials.
How credentials flow from the secret manager into Plane pods
The flow starts in the secret manager, where the database, RabbitMQ and storage values live. An IAM role (AWS) or a Vault auth method authenticates the External Secrets Operator in the cluster, which reads those values and writes a Kubernetes Secret inside the Plane namespace. Plane workloads then consume that Secret, so the Helm values never carry the credentials. Check that each trust boundary is crossed only by the identity you intended, with the narrowest read permissions.
Credentials move from the secret manager through the operator into Plane pods.
Security controls that keep Plane credentials contained
Moving Plane's database, RabbitMQ and storage credentials into a secret manager only helps if the manager itself is tightly scoped. The cards below cover the controls that decide who can read those values, how long access lasts, and where secret material could still leak. Check each one against your own cluster and cloud account before the sync goes live.
Least-privilege AWS IAM policy
Scope the Plane sync role to the specific secret ARNs it reads, not to a wildcard. The Plane example grants secretsmanager:GetSecretValue, DescribeSecret, GetResourcePolicy and ListSecretVersionIds, so confirm that no write, delete or rotation actions are attached to the same role. Review the policy with IAM Access Analyzer or an equivalent tool before go-live, and confirm that the resource list matches the secrets Plane actually needs.
Plane external secrets docsAvoid stored long-lived keys
Where the platform allows, let the cluster assume a role instead of storing an access key for a dedicated IAM user. Plane's example uses a dedicated IAM user that assumes a role, so ask whether your organization can replace the user's static key with workload identity or a short-lived token. If a static key is unavoidable, record its owner, its rotation date and who can read it, and remove it from anywhere it was copied.
Vault policies scoped to paths
In OpenBao or Vault, write a policy that grants read on the exact KV path for Plane's secrets and nothing beneath it. Bind that policy to the Kubernetes auth role used by the External Secrets Operator, and keep it separate from policies for administrators. Confirm the token TTL and that the role cannot list or write to neighboring paths, since a broad list permission exposes secret names even when values stay hidden.
Namespace restriction for synced secrets
A Kubernetes Secret created by the sync is readable by any workload in its namespace that has get access to Secrets. Keep the Plane namespace limited to Plane workloads, and remove broad RBAC bindings that grant secret reads cluster-wide. Confirm that the SecretStore or ClusterSecretStore is scoped to the namespaces that need it, because a ClusterSecretStore lets other namespaces reference the same backend.
Audit logging of secret reads
Turn on audit logging in AWS CloudTrail for Secrets Manager calls, or enable the Vault audit device, so each read of a Plane credential is recorded with its caller. Ask who receives those logs, how long they are retained and whether alerts fire on reads from unexpected principals. A log that nobody reviews does not show that a credential was contained.
Keeping values out of Helm, logs and CI
Keep database passwords, RabbitMQ credentials and storage keys out of values files, Helm release history and CI variables that print on job logs. Helm stores rendered values in release secrets, so a value pasted into a values file remains recoverable. Check that the chart references the synced Secret by name, that CI jobs do not echo environment variables, and that pipeline logs are masked for any token that must pass through.
How rotation works without a Plane outage
Rotating a database, RabbitMQ or storage credential for Plane is a three-step change that must run in a fixed order: change the credential on the datastore side first, update the secret in your secret manager second, and then let the operator resync and restart or reload the affected Plane workloads. Reversing the first two steps is the most common cause of an avoidable outage, because the running pods keep presenting the old password until Plane receives the new one, and the old password stops working as soon as the datastore changes it. Plan the change as a short, announced window even when the process is automated.
Before the change, confirm three things in your own environment. First, confirm that the Plane deployment you run still reads the secret through the External Secrets resource and not through values that were copied into Helm, since a hardcoded value will not pick up the rotated secret. Second, confirm how your secret manager versions the value, so that you can roll back to the prior version if the new credential fails. Third, confirm with your Plane version and chart which workloads read the database, RabbitMQ and storage secrets, because the restart list differs by component. Check the exact refresh and reload behavior against the Plane external secrets documentation rather than assuming a default interval.
Test the procedure in a non-production instance that uses the same secret store path, IAM role or Vault policy, and the same datastore user model. Confirm that a login with the new credential succeeds, that Plane's web and API pods report healthy after the restart, that background workers can still consume RabbitMQ queues, and that uploads and downloads still work against object storage after the change. Keep the old credential valid until every consumer has been verified, then revoke it on the datastore side and record the change in your audit trail.
Limits to confirm in your environment
The external secrets pattern depends on a chart version, exact key names, a secret store and an operator version that all have to line up. Treat each item below as a check against Plane's current documentation and your own cluster, not as a fact this page establishes.
Chart and Plane version support
Confirm which Helm chart release and Plane version document the external secrets configuration you plan to use. Plane's Kubernetes guide installs the Commercial Edition, so check whether the Community chart supports the same values keys before you copy an example. Pin the chart version in your deployment record so an upgrade does not silently change where secrets are read from.
External secrets docsExact secret key names
The Helm values, the secret objects and the keys inside them must match exactly, including the name Plane expects for RabbitMQ, PostgreSQL and object storage credentials. Confirm each key name against the chart's values file for your version rather than copying names from a blog post or an older example. A mismatch often appears only as a pod that fails to start, so write the mapping down and check it in a dry run.
Vault example versus AWS example
Plane documents worked examples for both AWS Secrets Manager and HashiCorp Vault, but the two paths may not share the same secret store configuration, auth method or key layout. Compare the two sections line by line and confirm which settings are specific to each store. If you run OpenBao instead of Vault, confirm the Plane example still applies, since the docs may refer to Vault by name only.
External Secrets Operator compatibility
The External Secrets Operator sits between Kubernetes and your secret store, so its version must support the API version your manifests use and the store provider you chose. Check the operator's compatibility notes for your Kubernetes version and confirm which resource API versions it serves. Record the operator version alongside the Plane chart version, since an operator upgrade can change how secrets are refreshed.
Internal key management requirements
Before you pick AWS Secrets Manager, Vault or OpenBao, confirm with your security and compliance teams where encryption keys must live, who may administer the store, and how access is logged and reviewed. Some organizations require keys in a specific region, a hardware-backed root of trust or an approved vendor list. Ask your auditors which evidence they expect for secret storage and rotation, and confirm that the chosen store produces it.
Rotation behavior in running pods
Confirm how a rotated credential reaches Plane's running containers. Some workloads read secrets only at startup, so a refreshed secret in the store may not take effect until a restart. Test a rotation in a non-production namespace, check which Plane workloads reconnect to PostgreSQL, RabbitMQ or object storage, and plan the restart order before you rotate production credentials.
Questions teams ask before moving Plane secrets out of Helm values
How much effort does moving Plane secrets out of Helm values take?
The effort depends mostly on how many credentials move, how many environments share them, and whether your secret store already exists. Plane's external secrets guide covers Kubernetes deployments with worked examples for AWS Secrets Manager and HashiCorp Vault, including storing RabbitMQ credentials as a secret, so the chart changes are bounded. The larger work is usually the surrounding setup: creating the secret entries, writing the IAM policy or Vault policy, wiring the service account or auth method, and testing a restart of every Plane workload. Ask any partner for a written scope listing each credential, environment and verification step before agreeing to a price.
Can our own team do this without outside help?
A team with working Kubernetes and cloud IAM experience can usually follow the documented pattern alone, because the AWS example names the actions the policy needs and the Vault path follows the same logic. Outside help tends to matter when the team has no one who has run an external secret operator before, when the change must be reviewed by security before production, or when the rollout must avoid downtime across several clusters. Be honest about who will maintain the setup after the first rotation, since that ongoing ownership is where in-house efforts often drift.
What do our cloud and security teams need to provide?
Expect to need a cloud account owner who can create an IAM user, an assumable role and a scoped policy, and a security reviewer who approves which Plane credentials are stored, who can read them and how access is logged. The AWS example grants secretsmanager:GetResourcePolicy, GetSecretValue, DescribeSecret and ListSecretVersionIds, so your reviewers can check those four actions against least privilege. For Vault, they will also need to decide the auth method, such as Kubernetes or AppRole, and the policy paths. Confirm early who owns the cluster, the secret store and the audit log.
How should we schedule rotation of Plane database and RabbitMQ credentials?
Rotation should be a planned change with a named owner, a schedule set by your policy, and a test in a non-production environment first. With the External Secrets pattern, the secret store holds the current value and the operator syncs it into Kubernetes, so the main risk is a credential changed in the store before the database or RabbitMQ accepts it. Rotate the backend credential, confirm the sync, and then restart or roll Plane workloads that read it. Ask your vendor or partner to document the order of steps for PostgreSQL, RabbitMQ and the S3 bucket, and confirm how old credentials are revoked.
Does moving secrets out of Helm values change how Plane is licensed or upgraded?
No. Moving credentials into an external store changes where Plane reads its configuration from, not which edition you run. Plane Community Edition is licensed under AGPL-3.0, while the Commercial and Airgapped editions are proprietary, and Plane's Kubernetes guide installs the Commercial Edition. Check the chart values for your chosen edition and version before changing anything, and plan the secret change into your normal upgrade test cycle so a chart upgrade does not revert the pattern.
When is OpenBao worth evaluating instead of AWS Secrets Manager or HashiCorp Vault?
Evaluate OpenBao when you want a Vault-compatible secrets manager under an open-source license and an open governance model, or when you need to keep secrets in infrastructure you operate. OpenBao is an open-source fork of Vault under MPL-2.0, and it is a Sandbox project of the OpenSSF under Linux Foundation stewardship. It offers key/value storage, dynamic secrets, encryption as a service and leasing with revocation, and its documented HA backends are integrated Raft storage and PostgreSQL. Check the migration guide and the current release notes before choosing it, and confirm that your secret-operator integration supports it.
Is OpenBao or Vault a bigger operational commitment than AWS Secrets Manager?
Yes, in most cases, because a self-run secrets manager adds a service you must patch, back up, make highly available and monitor. AWS Secrets Manager is a managed service, so your work centers on IAM and secret entries, while Vault or OpenBao needs storage, unseal and HA design, auth method configuration and upgrade planning. The OpenBao HA documentation describes an active node holding a lock in the data store with standby nodes, and it recommends choosing between Raft and PostgreSQL based on how your team will operate them. Weigh that ongoing staffing cost against the value of keeping secrets inside your own boundary.
How DeployOpen scopes Plane secrets work
DeployOpen agrees the scope in writing before any work starts, and the written scope names each part of the secrets setup. It covers the secret store (AWS Secrets Manager or a HashiCorp Vault or OpenBao instance), the Kubernetes cluster that runs Plane and the external secrets integration that reads from the store, the IAM policy and assumable role or the Vault policy and auth method that grant read access, the rotation test, and the handover documents. The scope also states which Plane credentials move out of Helm values, such as the PostgreSQL, RabbitMQ and object storage credentials, and which stay with the client. Ask for the list of secret paths and owners in the quote, because that list drives most of the effort.
On the AWS side, DeployOpen implements the least-privilege policy for the reader role, limited to the secret ARNs Plane needs, and checks that the policy permits only the actions in Plane's documented example. On the Vault side, the work covers the policy, the Kubernetes or JWT auth configuration and the lease settings. DeployOpen implements and documents these controls, and tests that a rotated credential reaches Plane without an outage. Independent auditors, not DeployOpen, issue any audit reports, so the handover includes the evidence your auditor will ask for: policy files, access logs and rotation records. Confirm with your auditor which evidence they expect before the build starts.
Rotation and handover are one-time deliverables, while the store, its backups and any policy reviews recur. Your team keeps running those after handover. DeployOpen offers ongoing support, upgrades and continuous testing as a retainer if you prefer a partner to keep the rotation test and policy review current across Plane version changes. Ask any partner to show the rotation runbook and the retest plan in the written scope.

