Can I use a user-assigned managed identity instead of a system-assigned managed identity?
Yes. Azure supports both system-assigned and user-assigned managed identities. For environments with high ephemeral workloads where VMs are frequently recreated, HashiCorp recommends user-assigned identities to avoid accumulating Vault entities. See Azure managed identities in the HashiCorp Vault documentation for more information.
How do I rotate my secrets in HashiCorp Vault and how does Kong Gateway pick up the new secret values?
You can rotate your secret in HashiCorp Vault 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.
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.