CyberArk Secrets Manager vault

You can set up a CyberArk Secrets Manager (Conjur) vault in one of the following ways:

The Vault entity can only be used once the database is initialized. Secrets for values that are used before the database is initialized can’t make use of the Vaults entity.

Create a CyberArk Secrets Manager vault

The following example creates a conjur Vault entity:

Vault configuration options

The following table lists the available configuration parameters for a CyberArk Secrets Manager Vault:

Field name

Parameter format

Description

Endpoint URL
v3.11+
  • Vault entity: vaults.config.endpoint_url
  • kong.conf parameter: vault_conjur_endpoint_url
  • Environment variable: KONG_VAULT_CONJUR_ENDPOINT_URL
The CyberArk Secrets Manager backend URL to connect with. Accepts http or https protocols.
Authentication method
v3.11+
  • Vault entity: vaults.config.auth_method
  • kong.conf parameter: vault_conjur_auth_method
  • Environment variable: KONG_VAULT_CONJUR_AUTH_METHOD
Defines the authentication mechanism for connecting to the CyberArk Secrets Manager Vault service. Accepted value: api_key.
Account
v3.11+
  • Vault entity: vaults.config.account
  • kong.conf parameter: vault_conjur_account
  • Environment variable: KONG_VAULT_CONJUR_ACCOUNT
The CyberArk Secrets Manager organization account name.
Login
v3.11+
  • Vault entity: vaults.config.login
  • kong.conf parameter: vault_conjur_login
  • Environment variable: KONG_VAULT_CONJUR_LOGIN
The login name of the workload identity.
API Key
v3.11+
  • Vault entity: vaults.config.api_key
  • kong.conf parameter: vault_conjur_api_key
  • Environment variable: KONG_VAULT_CONJUR_API_KEY
The API key of the workload identity.
TTL
v3.11+
  • Vault entity: vaults.config.ttl
  • kong.conf parameter: vault_conjur_ttl
  • Environment variable: KONG_VAULT_CONJUR_TTL
Time-to-live (in seconds) for a cached secret. A value of 0 (default) disables rotation. For non-zero values, use at least 60 seconds.
Negative TTL
v3.11+
  • Vault entity: vaults.config.neg_ttl
  • kong.conf parameter: vault_conjur_neg_ttl
  • Environment variable: KONG_VAULT_CONJUR_NEG_TTL
Time-to-live (in seconds) for caching failed secret lookups. A value of 0 (default) disables negative caching. Kong retries after neg_ttl expires.
Resurrect TTL
v3.11+
  • Vault entity: vaults.config.resurrect_ttl
  • kong.conf parameter: vault_conjur_resurrect_ttl
  • Environment variable: KONG_VAULT_CONJUR_RESURRECT_TTL
Duration (in seconds) that secrets remain usable after expiration (config.ttl is over). Useful when the vault is unreachable or a secret is deleted but not yet replaced. Kong continues retrying for resurrect_ttl seconds, then stops. The default is 1e8 seconds (~3 years).

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!