-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Invalid endpoint: https://kms..amazonaws.com #94
Comments
Is the aws_cmk_id string have the form of: arn:aws:kms:region:account-id:key/key-id If not, could you provide an example string? |
Hi,
aws_cmk_id is of this format:
aws_cmk_id =
'arn:aws:iam::123456789123:policy/prd1688-us-east-1-dev1-k8s-jana-policy'
…On Tue, Oct 16, 2018 at 6:40 PM Josh ***@***.***> wrote:
Is the aws_cmk_id string have the form of:
arn:aws:kms:region:account-id:key/key-id
or
arn:aws:kms:region:account-id:alias/alias
If not, could you provide an example string you are providing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#94 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGgVEXybzCYXUCKxZt3XUcvsXRU_6YTks5ulop9gaJpZM4XifPx>
.
|
That is an Arn for an IAM policy, not a KMS CMK. As an aside, we should catch this before it hits botocore. #95 opened to catch this. |
Thanks for pointing that out Matt. Dealing with some the KMS CMK
permission issues with AWS support, but I think this issue can be closed.
…On Wed, Oct 17, 2018 at 2:36 AM Matt Bullock ***@***.***> wrote:
aws_cmk_id =
'arn:aws:iam::123456789123:policy/prd1688-us-east-1-dev1-k8s-jana-policy'
That is an Arn for an IAM policy, not a KMS CMK.
As an aside, we should catch this before it hits botocore. #95
<#95> opened
to catch this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#94 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGgVPFwXgzQAcAKf-Z7RynNEh8ZPNXqks5ulvomgaJpZM4XifPx>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When calling AwsKmsCryptographicMaterialsProvider:
aws_kms_cmp = AwsKmsCryptographicMaterialsProvider(key_id=aws_cmk_id)
... I get the following error:
The text was updated successfully, but these errors were encountered: