passbolt.md 1.5 KB

External Secrets Operator integrates with Passbolt API to sync Passbolt to secrets held on the Kubernetes cluster.

Creating a Passbolt secret store

Be sure the passbolt provider is listed in the Kind=SecretStore and auth and host are set. The API requires a password and private key provided in a secret.

{% include 'passbolt-secret-store.yaml' %}

Custom CA certificate

If your Passbolt instance uses a certificate signed by a private or custom Certificate Authority, you can configure the CA bundle that ESO uses to validate the Passbolt server certificate. Either supply the PEM-encoded bundle inline via caBundle, or reference a Secret/ConfigMap via caProvider.

{% include 'passbolt-secret-store-ca.yaml' %}

If neither caBundle nor caProvider is set, ESO uses the system root certificates to validate the TLS connection.

Creating an external secret

To sync a Passbolt secret to a Kubernetes secret, a Kind=ExternalSecret is needed. By default the secret contains name, username, uri, password and description.

To only select a single property add the property key.

{% include 'passbolt-external-secret-example.yaml' %}

The above external secret will lead to the creation of a secret in the following form:

{% include 'passbolt-secret-example.yaml' %}

Finding a secret by name

Instead of retrieving secrets by ID you can also use dataFrom to search for secrets by name.

{% include 'passbolt-external-secret-findbyname.yaml' %}