The following arguments are supplied:
Argument value | Notes | |
---|---|---|
First argument | validate-key | Fixed |
second argument | --keyid | Fixed |
third argument | keyid | Variable; the key ID specified in the pgx_declare_external_master_key function is passed |
After the fourth argument | extraarg | Arguments specified in the connection information file, if any, are given in the specified order |
The following environment variables are supplied:
Name of the environment variable | Value of the environment variable | Notes |
---|---|---|
TDE_KMS_SECRET | KMS Secret | String entered in the FEP to open the keystore |
The command ends with the following return values:
Return value | Condition |
---|---|
0 | If the processing is successful |
Other than 0 | When processing does not complete normally |
Data is delivered to the plug-in in the following way.The plug-in also returns results in the following ways:
Classification | Data Content | Delivery method | Notes |
---|---|---|---|
Input | Key ID | Arguments | |
Output | Process Status | Plug-in return code | |
Output | Message | Plugin standard error output | Expected to be printable |
Called before starting to use the encryption key.
Verifies the existence of the encryption key identified by the key ID and whether the user is authorized to use the encryption key.