This topic describes how to view a key policy.
Precautions
Only keys in KMS instances support key policies. You can configure a key policy when you create a key or modify the key policy after the key is created. For more information, see Manage a key and Configure a key policy.
View a key policy in the Key Management Service (KMS) console
Log on to the KMS console. In the top navigation bar, select the required region. In the left-side navigation pane, click Keys.
On the Keys tab, find the key whose key policy you want to view. Click the key ID or click Details in the Actions column that corresponds to the key.
On the Key Policy tab of the details page of the key, view the policy details.
Display by Graphic: The administrators, users, and cross-account users that you set are displayed.
NoteIf the policy contains custom policy content, the custom policy content can only be displayed by syntax.
Display by Syntax: For information about policy statements, see Overview.