Option to use AWS KMS to store VSecM safe master key (instead of a kubernetes secret)
AEGIS_CRYPTO_KEY_STORE = [k8s, kms, vault, none] AEGIS_CRYPTO_KEY_AUTH_METHOD = 'iam'
if key store is kms, and if auth method is IAM then assume that you have access to what you need and use kms as a backing store for the root key.
Note that this is only for the root key.
When set up like this, if a key exists in KMS, Aegis will use it during bootstrap (if it is set up to automatically bootstrap); or it will generate and store it to the KMS (to be used next time)
If it is set up to bootstrap manually using AEGIS_MANUAL_KEY_INPUT, then it won’t read from KMS, and will expect the operator to manually set up tke key instead.
@v0lkan Could you assign that issue to me?
Assigned; I’ll ad some details to this.