We need to just create the kms key once instead of once for each secret.
❌ MAAP-STAC-auth-dev failed: ValidationError: Template format error: The Outputs section contains duplicate Export names: [maap-stac-auth-key]. Specify a unique name for each export.
The _create_secret method runs _create_kms_key():
|
encryption_key=self._create_kms_key(service_id), |
Then we run _create_secret twice (for user client and service client). Just needs a small refactor.
We need to just create the kms key once instead of once for each secret.
The
_create_secretmethod runs_create_kms_key():MAAP-STAC-auth/infra/AuthStack.py
Line 277 in b722867
Then we run
_create_secrettwice (for user client and service client). Just needs a small refactor.