KmsKeyConfiguration
Proposed access control configuration for a KMS key. You can propose a configuration for a new KMS key or an existing KMS key that you own by specifying the key policy and Amazon KMS grant configuration. If the configuration is for an existing key and you do not specify the key policy, the access preview uses the existing policy for the key. If the access preview is for a new resource and you do not specify the key policy, then the access preview uses the default key policy. The proposed key policy cannot be an empty string. For more information, see Default key policy. For more information about key policy limits, see Resource quotas.
Contents
- grants
-
A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key.
Type: Array of KmsGrantConfiguration objects
Required: No
- keyPolicies
-
Resource policy configuration for the KMS key. The only valid value for the name of the key policy is
default
. For more information, see Default key policy.Type: String to string map
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: