How do I rotate my secrets in CyberArk Secrets Manager and how does Kong Gateway pick up the new secret values?
You can rotate your secret in CyberArk Secrets Manager by creating a new secret version with the updated value. You’ll also want to configure the ttl settings in your Kong Gateway Vault entity so that Kong Gateway pulls the rotated secret periodically.
How are CyberArk Secrets Manager secrets referenced by Kong Gateway?
Because CyberArk Secrets Manager secrets are organized under policies, when referencing secrets defined in a non-root policy, you must encode the / in the secret reference. For example: {vault://conjur-vault/BotApp%2FsecretVar} is correct, {vault://conjur-vault/BotApp/secretVar} is incorrect.
Can users and hosts be used to authenticate CyberArk Secrets Manager Vaults?
Yes. If you were authenticating the Dave user, you’d configure "login": "Dave@BotApp" along with the API key for Dave. If you were authenticating the host, you’d use "login": "host/BotApp/myDemoApp" along with the host API key.
Can I configure Vault in a different way without using the Vault entity directly?
Yes, you can also configure a Vault in one of the following ways:
- Using environment variables, set at Kong Gateway startup
- Using parameters in
kong.conf, set at Kong Gateway startup
See the Vault reference for your provider for the available parameters and their format in each method.