I'm trying to get the attached tags on specific CMK how can I do that?, I tried with kms_client.list_aliases
I get the alias info but not it's tags
You need to call the list_resource_tags
function, which
Returns a list of all tags for the specified customer master key (CMK).
Request
response = kms_client.list_resource_tags(
KeyId='string',
Limit=123,
Marker='string'
)
Response
{
'Tags': [
{
'TagKey': 'string',
'TagValue': 'string'
},
],
'NextMarker': 'string',
'Truncated': True|False
}