Top
Enterprise Postgres 17 Installation and Setup Guide for Server

M.5.1 Key Verification

Arguments

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

Environment variable

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

Return value

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

delivery of data

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

Calling opportunity

Called before starting to use the encryption key.

Processing contents

Verifies the existence of the encryption key identified by the key ID and whether the user is authorized to use the encryption key.