/AWS1/CL_AANKMSGRANTCNSTRNTS¶
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context. You can specify only one type of encryption context. An empty map is treated as not specified. For more information, see GrantConstraints.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
it_encryptioncontextequals
TYPE /AWS1/CL_AANKMSCNSTRNTSMAP_W=>TT_KMSCONSTRAINTSMAP
TT_KMSCONSTRAINTSMAP
¶
A list of key-value pairs that must match the encryption context in the cryptographic operation request. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint.
it_encryptioncontextsubset
TYPE /AWS1/CL_AANKMSCNSTRNTSMAP_W=>TT_KMSCONSTRAINTSMAP
TT_KMSCONSTRAINTSMAP
¶
A list of key-value pairs that must be included in the encryption context of the cryptographic operation request. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs.
Queryable Attributes¶
encryptionContextEquals¶
A list of key-value pairs that must match the encryption context in the cryptographic operation request. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENCRYPTIONCONTEXTEQUALS() |
Getter for ENCRYPTIONCONTEXTEQUALS, with configurable defaul |
ASK_ENCRYPTIONCONTEXTEQUALS() |
Getter for ENCRYPTIONCONTEXTEQUALS w/ exceptions if field ha |
HAS_ENCRYPTIONCONTEXTEQUALS() |
Determine if ENCRYPTIONCONTEXTEQUALS has a value |
encryptionContextSubset¶
A list of key-value pairs that must be included in the encryption context of the cryptographic operation request. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENCRYPTIONCONTEXTSUBSET() |
Getter for ENCRYPTIONCONTEXTSUBSET, with configurable defaul |
ASK_ENCRYPTIONCONTEXTSUBSET() |
Getter for ENCRYPTIONCONTEXTSUBSET w/ exceptions if field ha |
HAS_ENCRYPTIONCONTEXTSUBSET() |
Determine if ENCRYPTIONCONTEXTSUBSET has a value |