kes
kes copied to clipboard
Make endpoint config optional in AWS secrets-manager keystore config
The AWS SDK contains a set of pre-configured endpoints. Make the endpoint config optional, and let the SDK decide what endpoint should be used. This fixes #495. See #495 about more details.
Maybe we should make the region optional too. Both can be autoconfigured by the SDK.
Tested with IRSA on EKS with a config like this:
keystore:
aws:
secretsmanager:
region: us-east-1
kmskey: arn:aws:kms:us-east-1:...
@aead @shtripat any chance to look into this? Changes in this pull-request are comparable small
Rebased on the current master. @aead @shtripat any chance to merge this? It's only a minimalistic change in the config parser/validator