key_for_signing Property
Whether the CMK is for signing or encryption.
Syntax
def get_key_for_signing(key_index: int) -> bool: ...
Default Value
FALSE
Remarks
Whether the CMK is for signing or encryption.
This property reflects whether the CMK's usage is signing/verification (True) or encryption/decryption (False).
A CMK's usage determines which cryptographic operations it can be used for. For example, a CMK with signing/verification usage can be used for sign and verify operations, but not for encrypt, decrypt or re_encrypt operations.
The key_index parameter specifies the index of the item in the array. The size of the array is controlled by the key_count property.
This property is read-only.