You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using KMSMasterKeyProvider, can a CMK key alias be used as the key_id instead of the arn?
The KMS API GenerateDataKey operation accepts alias as the key_id. But it looks like the sdk expects the key_id to be an arn. If the key_id is not an arn, the init fails with the below error -
UnknownRegionError: No default region found and no region determinable from key id: alias/cmk-alias
/usr/local/lib/python2.7/site-packages/aws_encryption_sdk/key_providers/kms.py:50:UnknownRegionError
The text was updated successfully, but these errors were encountered:
mattsb42-aws
changed the title
KMSMasterKeyProvider - alias as key_id
KMSMasterKeyProvider - requested master keys are generated before setting default region.
Sep 14, 2018
When using KMSMasterKeyProvider, can a CMK key alias be used as the key_id instead of the arn?
The KMS API
GenerateDataKey
operation accepts alias as the key_id. But it looks like the sdk expects the key_id to be an arn. If the key_id is not an arn, the init fails with the below error -The below fails with an exception -
The text was updated successfully, but these errors were encountered: