RotationsListEntry
Each entry contains information about one of the key materials associated with a KMS key.
Contents
Note
In the following list, the required parameters are described first.
- ExpirationModel
- 
               Indicates if the key material is configured to automatically expire. There are two possible values for this field: KEY_MATERIAL_EXPIRESandKEY_MATERIAL_DOES_NOT_EXPIRE. For any key material that expires, the expiration date and time is indicated inValidTo. This field is only present for symmetric encryption KMS keys withEXTERNALorigin.Type: String Valid Values: KEY_MATERIAL_EXPIRES | KEY_MATERIAL_DOES_NOT_EXPIRERequired: No 
- ImportState
- 
               Indicates if the key material is currently imported into Amazon KMS. It has two possible values: IMPORTEDorPENDING_IMPORT. This field is only present for symmetric encryption KMS keys withEXTERNALorigin.Type: String Valid Values: IMPORTED | PENDING_IMPORTRequired: No 
- KeyId
- 
               Unique identifier of the key. Type: String Length Constraints: Minimum length of 1. Maximum length of 2048. Required: No 
- KeyMaterialDescription
- 
               User-specified description of the key material. This field is only present for symmetric encryption KMS keys with EXTERNALorigin.Type: String Length Constraints: Minimum length of 0. Maximum length of 256. Pattern: ^[a-zA-Z0-9:/_\s.-]+$Required: No 
- KeyMaterialId
- 
               Unique identifier of the key material. Type: String Length Constraints: Fixed length of 64. Pattern: ^[a-f0-9]+$Required: No 
- KeyMaterialState
- 
               There are three possible values for this field: CURRENT,NON_CURRENTandPENDING_ROTATION. Amazon KMS usesCURRENTkey material for both encryption and decryption andNON_CURRENTkey material only for decryption.PENDING_ROTATIONidentifies key material that has been imported for on-demand key rotation but the rotation hasn't completed. Key material inPENDING_ROTATIONis not permanently associated with the KMS key. You can delete this key material and import different key material in its place. ThePENDING_ROTATIONvalue is only used in symmetric encryption keys with imported key material. The other values,CURRENTandNON_CURRENT, are used for all KMS keys that support automatic or on-demand key rotation.Type: String Valid Values: NON_CURRENT | CURRENT | PENDING_ROTATIONRequired: No 
- RotationDate
- 
               Date and time that the key material rotation completed. Formatted as Unix time. This field is not present for the first key material or an imported key material in PENDING_ROTATIONstate.Type: Timestamp Required: No 
- RotationType
- 
               Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation. This field is not present for the first key material or an imported key material in PENDING_ROTATIONstate.Type: String Valid Values: AUTOMATIC | ON_DEMANDRequired: No 
- ValidTo
- 
               Date and time at which the key material expires. This field is only present for symmetric encryption KMS keys with EXTERNALorigin in rotation list entries with anExpirationModelvalue ofKEY_MATERIAL_EXPIRES.Type: Timestamp Required: No 
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: