duo-labs / duo-labs/cloudmapper

Imported KMS Key Error

Open
#662 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
6.3k
Forks
836
PR merge metrics
No merged PRs in 30d

Description

CloudMapper fails to run and stops with the following error message.
The scenario is an imported KMS Key that hasn't completed or finalized. Hence, there is no key policy attached.

```
No vault access policy is set for: XXXXXXXXXXX
kms.list_keys({}): Connect timeout on endpoint URL: "https://kms.us-east-1.amazonaws.com/"
kms.get_key_rotation_status({'KeyId': 'ZZZZZZZZZZZZZZZZZZZZ'}):
An error occurred (UnsupportedOperationException) when calling the GetKeyRotationStatus operation:
arn:aws:kms:us-east-1:123456789123:key/ZZZZZZZZZZZZZZZZZZZ origin is EXTERNAL which is not valid for this operation.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.