Purpose
You can use this statement to modify Keystore attributes, including enabling or disabling a Keystore, modifying the Keystore password, and generating a Keystore key.
Syntax
/* Open or close a Keystore. */
ADMINISTER KEY MANAGEMENT SET KEYSTORE [OPEN | CLOSE] IDENTIFIED BY [password];
/* Set the master key. */
ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY [password]
Parameters
| Parameter | Description |
|---|---|
| OPEN | Opens the Keystore. |
| CLOSE | Closes the Keystore. |
| password | The password for accessing and controlling the Keystore. |
Examples
Open a Keystore. You can access the encrypted table and set the master key only when the Keystore is in the
openstate.obclient> ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY **1***;Update the master key stored in the Keystore.
obclient> ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY **1***;