Class AwsSecretsManagerKeyProvider

java.lang.Object
com.kingsrook.qqq.backend.core.crypto.AbstractLookupKeyProvider
com.kingsrook.qqq.backend.core.crypto.AwsSecretsManagerKeyProvider
All Implemented Interfaces:
QKeyProviderInterface

public class AwsSecretsManagerKeyProvider extends AbstractLookupKeyProvider
Key provider that reads base64 keys from AWS Secrets Manager, through SecretsManagerUtils (so it uses the same SECRETS_MANAGER_* environment configuration). The secret id is (path + name), per SecretsManagerUtils; the keyRef is the name. See AbstractLookupKeyProvider for the version convention. The secret lookup is injectable, for tests.