Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
9.0 KiB
Functions
KMS is a secure, reliable, and easy-to-use cloud service that helps users create, manage, and protect keys in a centralized manner.
It uses Hardware Security Modules (HSMs) to protect keys. All keys are protected by root keys in HSMs to avoid key leakage. The HSM module meets the FIPS 140-2 Level 3 security requirements.
It also controls access to keys and records all operations on keys with traceable logs. In addition, it provides use records of all keys, meeting your audit and regulatory compliance requirements.
Functions
- On the KMS console, you can:
- Create, query, enable, and disable CMKs, as well as schedule and cancel CMK deletion.
- Modify the alias and description of CMKs.
- Use the online tool to encrypt and decrypt small-size data.
- Import keys and delete key material.
- Add, search for, edit, and delete tags.
- Create, cancel, and query grants.
- You can use the API to perform the following operations:
- Create, encrypt, or decrypt DEKs.
- Retire grants.
For details, see Key Management Service API Reference.
- Generate hardware true random numbers.
You can generate 512-bit hardware true random numbers using a KMS API. The numbers can be used as a basis for key materials or as encryption parameters. For details, see the Key Management Service API Reference.
Key Algorithms Supported by KMS
Symmetric keys created on the KMS console use the AES algorithm. Asymmetric keys created by KMS support the RSAand ECC algorithms.
Key Type |
Algorithm Type |
Key Specifications |
Description |
Application Scenario |
---|---|---|---|---|
Symmetric key |
AES |
AES_256 |
AES symmetric key |
|
Asymmetric key |
RSA |
|
RSA asymmetric password |
|
ECC |
|
Elliptic curve recommended by NIST |
Digital signature and signature verification |
Table 2 describes the encryption and decryption algorithms supported for user-imported keys.
Algorithm |
Description |
Configuration |
---|---|---|
RSAES_OAEP_SHA_256 |
RSA algorithm that uses OAEP and has the SHA-256 hash function |
Select an algorithm based on your HSM functions. If your HSM supports the RSAES_OAEP_SHA_256 algorithm, use RSAES_OAEP_SHA_256 to encrypt key materials. |