Skip to content

Manage secrets

With secrets management in Aerospike Cloud, you can store sensitive values, such as authentication passwords, separate from your database configuration. When you reference a secret in a configuration value, Aerospike Cloud securely retrieves the secret from an encrypted vault and makes it available to the cluster nodes.

This approach isolates secret management from other configurations, enabling dedicated security procedures for sensitive properties.

Create a secret

  1. Navigate to Access manager > Secrets.

  2. Click Add secret.

  3. Enter a name for the secret.

    The name is used as the reference in your configuration. Choose something clear and specific to its purpose.

  4. Enter the secret value.

  5. Click Add secret.

After creating the secret, it appears in the secrets list.

Use secrets in your Aerospike Cloud configuration

To use a secret, specify the secret name as the value for the auth-password-file parameter in your cross-datacenter replication (XDR) configuration. This parameter provides the password for XDR destination authentication. You do not need to include a file path. Aerospike Cloud automatically mounts the secret at the appropriate location on the database nodes.

For example, if you create a secret named xdr-auth-password, reference it directly by name in your XDR configuration:

xdr:
dcs:
- name: dc1
auth-password-file: xdr-auth-password

To apply configuration changes to your cluster, see Modify a cluster.

XDR authentication example

The following configuration uses a secret named xdr-auth-password for cross-datacenter replication (XDR) authentication:

xdr:
dcs:
- name: dc1
auth-mode: internal
auth-user: xdr-user
auth-password-file: xdr-auth-password

Delete a secret

  1. Navigate to Access manager > Secrets.

  2. Find the secret you want to delete.

  3. Click the three-dot menu next to the secret and select Delete secret.

  4. Click Delete to confirm.

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?