1 回答
- 最新
- 投票最多
- 评论最多
0
Hi, I was able to get the KeyRotationStatus on a aws-managed kms key.
Make sure that the user/role used by the JAVA AP is in the same region as the KMS managed key, and that it really has enough permissions. You should then be able to run the following:
$aws kms list-keys
{
"Keys": [
{
"KeyId": "e1xxxxx-e6xx-45xx-xxxx-xxxxxxxxxxxxx",
"KeyArn": "arn:aws:kms:us-west-2:000000000000:key/e1xxxxx-e6xx-45xx-xxxx-xxxxxxxxxxxxx"
}
]
}
followed by
$ aws kms get-key-rotation-status --key-id e1xxxxx-e6xx-45xx-xxxx-xxxxxxxxxxxxx
{
"KeyRotationEnabled": true
}
That key id belongs to an aws-managed KMS key (aws/sns)
Hope this helps.
已回答 2 年前
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
I have the exactly same problem, also with aws/acm. The below answer doesn't help me.