How do I rotate my secrets in CyberArk Conjur and how does Kong Gateway pick up the new secret values?
You can rotate your secret in CyberArk Conjur 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 Conjur secrets referenced by Kong Gateway?
Because Conjur 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 Conjur 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.