Purpose
You can use this statement to create a Keystore, which is used to store keys. A Keystore needs to be created in a transparent data encryption (TDE) scenario. Each tenant can create only one Keystore.
Syntax
ADMINISTER KEY MANAGEMENT CREATE KEYSTORE [keystore_name] IDENTIFIED BY [password]
Parameters
| Parameter | Description |
|---|---|
| keystore_name | The name of the Keystore. |
| password | The password to access the Keystore, which must meet the following requirements: 1. No more than 128 characters in length 2. Must start with a letter. |
Examples
Create a Keystore named keystore1.
obclient> ADMINISTER KEY MANAGEMENT CREATE KEYSTORE keystore1 IDENTIFIED BY **1***;
Notice
- The Keystore password must be securely stored. If lost, it cannot be recovered.
- Appropriate system permissions are required to perform Keystore operations.