Script access for cryptographic modules
Scripts can be run to access a cryptographic module policy for a cryptographic purpose.
For Key Management Framework, policies can be based scripts. When an access policy is triggered for script access, the backend script can execute the module policy actions from the script.
Cryptographic modules can support one or more encryption purposes, such as Asymmetric Data Decryption and Symmetric Data Decryption. Each cryptographic purpose requires the generation of an encryption key and defined cryptographic purpose.
Consider the following when executing an encryption script request:
- The referenced cryptographic purpose must be defined in the cryptographic module.
- An active generated key must exist for the cryptographic module.
- The Module Access Policy type must be set to script.
Check script version
Configure script access to encrypted data
Execute a script to run the cryptographic module policy for a cryptographic purpose. Specific read (decrypt/unwrap) or write (encrypt, wrap) access can be defined based on the module access policy operation granularity. See Configure script access to encrypted data.