Credentials
The Helm chart doesn’t hold any secrets itself. It reads two Kubernetes Secrets that you create in advance:
You can create these Secrets by hand, as shown in Installation. This page covers the alternative: keeping the values in Vault or OpenBao and letting a secrets operator copy them into Kubernetes. Rotation and ownership applies either way.
Three separate logins are involved, and it helps to keep them apart:
- The secrets operator signs in to Vault or OpenBao with its Kubernetes ServiceAccount. The collector and NICo never talk to Vault or OpenBao.
- The collector and NICo sign in to BMCs with the usernames and passwords in the credentials file.
- The collector and gateway each exchange the bootstrap token for their own Fleet Intelligence session. Get the bootstrap token from your Fleet Intelligence administrator. A Vault or OpenBao token can’t be used in its place.
Before you start
Pick one operator for each Secret. The examples pair Vault with the Vault Secrets Operator (VSO) and OpenBao with the External Secrets Operator (ESO):
You need a server the cluster can reach over trusted TLS, KV version 2 mounts, Kubernetes authentication, and the operator’s CRDs installed.
The commands on this page use the namespace in $NAMESPACE. Use the same namespace you install the collector into, and set it again if you continue in a new terminal:
The example manifests can’t read shell variables, so they name the namespace fleet-intelligence directly. If you use a different namespace, change it in each manifest you apply.
1. Store the credentials
Prepare your BMC credentials file from credentials.example.json. Configuration explains its profiles and overrides.
Store two entries:
With the provider CLI signed in and both mounts enabled, load them straight from files:
The @ form stores each file’s contents as a single string, which is what the sync templates expect. Store the whole credentials file in one field; the operator copies it into Kubernetes unchanged. See the Vault and OpenBao CLI references.
2. Let the operator read them
Your secrets administrator sets up Kubernetes authentication (including TokenReview access) by following the Vault Kubernetes auth or OpenBao Kubernetes auth guide. You then need a read-only policy and a role for the operator. The examples use these names:
Create the policy and role. For OpenBao, set SECRETS_CLI=bao and SECRETS_READER_SERVICE_ACCOUNT=openbao-reader. If you change the audience, change it here and in the manifests in the next steps.
Policy paths include data/ (for example bmc/data/collector), because that is how KV version 2 names them. The sync manifests in step 4 leave it out.
3. Connect the operator to your server
Create the namespace:
Vault/VSO: edit auth.yaml with your server address and identity settings. If your server uses a private CA, set caCertSecretRef on the VaultConnection (see the VSO API reference). Then apply it:
OpenBao/ESO: edit secret-stores.yaml with your server, CA, and identity settings. It defines two stores: openbao-bmc for the bmc mount and openbao-tokens for the credentials mount. ESO talks to OpenBao through its vault provider; see the OpenBao integration guide.
4. Sync the Secrets into Kubernetes
Edit the sync manifests for your operator. Set the namespace, auth or store reference, source paths, Secret names, and refresh interval.
For VSO, also set rolloutRestartTargets in the token manifest to your release’s collector and gateway Deployments, so they restart when the token changes. If you don’t run the gateway, list only the collector.
Either operator produces the same two Secrets:
The credentials file is copied exactly, so passwords keep any leading or trailing spaces. The token is trimmed of surrounding whitespace and newlines, and a missing or blank token stops the sync instead of writing an empty Secret. To change this behavior, see VSO transformations or ESO templates.
5. Check that the sync worked
Check status and events. None of these commands print secret values.
Then confirm each Secret has the right key:
You should see credentials.json in fleet-intelligence-bmc-credentials and agent-token in fleet-intelligence-oob-collector-agent-token. Wait until both are present before installing the collector.
6. Install the collector
Point the chart at the synced Secrets. The same settings are in credentials-values.yaml and token-values.yaml, and they work with either operator:
Install with these values and your targets, following Installation. A successful sync doesn’t prove the credentials work, so finish with the checks in Installation.
Rotation and ownership
To rotate a BMC password or the bootstrap token, change it at its source (the BMC, or your Fleet Intelligence administrator), then update the entry in your secrets manager or the Kubernetes Secret. The operator copies the new value into Kubernetes on its next refresh: refreshAfter for VSO, refreshInterval for ESO.
What happens next depends on what changed:
Restart after a token change:
Use your release’s Deployment names, and skip the gateway if it’s disabled. You don’t need to do anything for the short-lived Fleet Intelligence sessions; the collector and gateway renew those themselves.
The operator owns the Secrets it creates, so clean them up through the operator. Uninstalling the collector chart leaves the operator resources and Secrets in place.