diff --git a/docs/kms/umn/ALL_META.TXT.json b/docs/kms/umn/ALL_META.TXT.json index 6640e0674..2a62bb080 100644 --- a/docs/kms/umn/ALL_META.TXT.json +++ b/docs/kms/umn/ALL_META.TXT.json @@ -3,8 +3,8 @@ "dockw":"User Guide" }, { - "uri":"kms_01_0109.html", - "node_id":"kms_01_0109.xml", + "uri":"dew_01_0091.html", + "node_id":"dew_01_0091.xml", "product_code":"kms", "code":"1", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -21,49 +21,13 @@ "githuburl":"" }, { - "uri":"kms_01_0045.html", - "node_id":"kms_01_0045.xml", + "uri":"dew_01_0121.html", + "node_id":"dew_01_0121.xml", "product_code":"kms", "code":"2", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Key Management", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Key Management", - "githuburl":"" - }, - { - "uri":"kms_01_0003.html", - "node_id":"kms_01_0003.xml", - "product_code":"kms", - "code":"3", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"usermanual", - "kw":"Concepts", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Concepts", - "githuburl":"" - }, - { - "uri":"kms_01_0004.html", - "node_id":"kms_01_0004.xml", - "product_code":"kms", - "code":"4", - "des":"Key Management Service (KMS) is a secure, reliable, and easy-to-use service that helps users centrally manage and safeguard their Customer Master Keys (CMKs).This service", - "doc_type":"usermanual", - "kw":"KMS,Concepts,User Guide", + "kw":"KMS", "search_title":"", "metedata":[ { @@ -75,139 +39,13 @@ "githuburl":"" }, { - "uri":"kms_01_0005.html", - "node_id":"kms_01_0005.xml", + "uri":"dew_01_0001.html", + "node_id":"dew_01_0001.xml", "product_code":"kms", - "code":"5", - "des":"A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user using KMS. It is used to encrypt and protect Data Encryption Keys (DEKs). One CMK can be used ", + "code":"3", + "des":"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", "doc_type":"usermanual", - "kw":"CMK,Concepts,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"CMK", - "githuburl":"" - }, - { - "uri":"kms_01_0006.html", - "node_id":"kms_01_0006.xml", - "product_code":"kms", - "code":"6", - "des":"A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The name of a default key ends with /default.You can use ", - "doc_type":"usermanual", - "kw":"Default Key,Concepts,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Default Key", - "githuburl":"" - }, - { - "uri":"kms_01_0007.html", - "node_id":"kms_01_0007.xml", - "product_code":"kms", - "code":"7", - "des":"Data Encryption Keys (DEKs) are used by users to encrypt data.", - "doc_type":"usermanual", - "kw":"DEK,Concepts,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"DEK", - "githuburl":"" - }, - { - "uri":"kms_01_0008.html", - "node_id":"kms_01_0008.xml", - "product_code":"kms", - "code":"8", - "des":"A Hardware Security Module (HSM) securely produces, stores, manages, and uses keys and provides encryption services.", - "doc_type":"usermanual", - "kw":"HSM,Concepts,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"HSM", - "githuburl":"" - }, - { - "uri":"kms_01_0009.html", - "node_id":"kms_01_0009.xml", - "product_code":"kms", - "code":"9", - "des":"Envelope encryption is an encryption method that enables DEKs to be stored, transmitted, and used in \"envelopes.\" As a result, CMKs are not used to directly encrypt and d", - "doc_type":"usermanual", - "kw":"Envelope Encryption,Concepts,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Envelope Encryption", - "githuburl":"" - }, - { - "uri":"kms_01_0010.html", - "node_id":"kms_01_0010.xml", - "product_code":"kms", - "code":"10", - "des":"A true random number generator (TRNG) is a device that generates unpredictable random numbers by physical procedures instead of computer programs.", - "doc_type":"usermanual", - "kw":"TRNG,Concepts,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"TRNG", - "githuburl":"" - }, - { - "uri":"kms_01_0012.html", - "node_id":"kms_01_0012.xml", - "product_code":"kms", - "code":"11", - "des":"A project is used to group and isolate OpenStack resources, including computing, storage, and network resources. A project can be a department or a project team.Multiple ", - "doc_type":"usermanual", - "kw":"Project,Concepts,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Project", - "githuburl":"" - }, - { - "uri":"kms_01_0047.html", - "node_id":"kms_01_0047.xml", - "product_code":"kms", - "code":"12", - "des":"KMS provides the following functions:Manages custom keys.You can perform the following operations on custom keys on the KMS console or via APIs:Creating, querying, enabli", - "doc_type":"usermanual", - "kw":"Functions,Key Management,User Guide", + "kw":"Functions,KMS,User Guide", "search_title":"", "metedata":[ { @@ -219,13 +57,13 @@ "githuburl":"" }, { - "uri":"kms_01_0100.html", - "node_id":"kms_01_0100.xml", + "uri":"dew_01_0115.html", + "node_id":"dew_01_0115.xml", "product_code":"kms", - "code":"13", + "code":"4", "des":"By integrating with OBS, EVS, and IMS, you can use KMS to manage the keys of the services or use KMS APIs to encrypt and decrypt local data.By integrating with Cloud Trac", "doc_type":"usermanual", - "kw":"Advantages,Key Management,User Guide", + "kw":"Advantages,KMS,User Guide", "search_title":"", "metedata":[ { @@ -237,13 +75,13 @@ "githuburl":"" }, { - "uri":"kms_01_0046.html", - "node_id":"kms_01_0046.xml", + "uri":"dew_01_0006.html", + "node_id":"dew_01_0006.xml", "product_code":"kms", - "code":"14", - "des":"KMS can manage CMKs used for data encryption and decryption in Object Storage Service (OBS), Elastic Volume Service (EVS), Image Management Service (IMS), Scalable File S", + "code":"5", + "des":"You can use the online tool on the KMS console or call KMS APIs to directly encrypt or decrypt a small amount of data, such as passwords, certificates, or phone numbers. ", "doc_type":"usermanual", - "kw":"Application Scenarios,Key Management,User Guide", + "kw":"Application Scenarios,KMS,User Guide", "search_title":"", "metedata":[ { @@ -255,13 +93,13 @@ "githuburl":"" }, { - "uri":"kms_01_0013.html", - "node_id":"kms_01_0013.xml", + "uri":"dew_01_0016.html", + "node_id":"dew_01_0016.xml", "product_code":"kms", - "code":"15", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "code":"6", + "des":"Cloud services use the envelope encryption technology and call KMS APIs to encrypt service resources. Your CMKs are under your own management. With your grant, cloud serv", "doc_type":"usermanual", - "kw":"Accessing and Using KMS", + "kw":"Using KMS for Encryption,KMS,User Guide", "search_title":"", "metedata":[ { @@ -269,68 +107,14 @@ "documenttype":"usermanual" } ], - "title":"Accessing and Using KMS", + "title":"Using KMS for Encryption", "githuburl":"" }, { - "uri":"kms_01_0014.html", - "node_id":"kms_01_0014.xml", + "uri":"en-us_topic_0000002248485012.html", + "node_id":"en-us_topic_0000002248485012.xml", "product_code":"kms", - "code":"16", - "des":"The cloud service provides a web-based service management platform. You can access KMS using HTTPS-compliant APIs or the management console.Management consoleIf you have ", - "doc_type":"usermanual", - "kw":"How to Access KMS,Accessing and Using KMS,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"How to Access KMS", - "githuburl":"" - }, - { - "uri":"kms_01_0015.html", - "node_id":"kms_01_0015.xml", - "product_code":"kms", - "code":"17", - "des":"Users can upload objects to and download them from Object Storage Service (OBS) in common mode or server-side encryption mode. When users upload objects in encryption mod", - "doc_type":"usermanual", - "kw":"How to Use KMS,Accessing and Using KMS,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"How to Use KMS", - "githuburl":"" - }, - { - "uri":"kms_01_9999.html", - "node_id":"kms_01_9999.xml", - "product_code":"kms", - "code":"18", - "des":"If you want to assign different access permissions to employees in an enterprise for the KMS resources purchased on the cloud platform, you can use Identity and Access Ma", - "doc_type":"usermanual", - "kw":"KMS Permission Management,Service Overview,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"KMS Permission Management", - "githuburl":"" - }, - { - "uri":"dew_01_0106.html", - "node_id":"dew_01_0106.xml", - "product_code":"kms", - "code":"19", + "code":"7", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Cloud Services with KMS Integrated", @@ -348,8 +132,8 @@ "uri":"dew_01_0007.html", "node_id":"dew_01_0007.xml", "product_code":"kms", - "code":"20", - "des":"When using Object Storage Service (OBS) to upload data with server-side encryption, you can select SEE-KMS encryption and use the key provided by KMS to encrypt the files", + "code":"8", + "des":"When using OBS to upload data with server-side encryption, you can select SEE-KMS encryption and use the key provided by KMS to encrypt the files to be uploaded, as shown", "doc_type":"usermanual", "kw":"Encrypting Data in OBS,Cloud Services with KMS Integrated,User Guide", "search_title":"", @@ -366,7 +150,7 @@ "uri":"dew_01_0008.html", "node_id":"dew_01_0008.xml", "product_code":"kms", - "code":"21", + "code":"9", "des":"When purchasing a disk, you can choose Advanced Settings > Encryption to encrypt the disk using the key provided by KMS. For details, see Figure 1. For more information a", "doc_type":"usermanual", "kw":"Encrypting Data in EVS,Cloud Services with KMS Integrated,User Guide", @@ -384,8 +168,8 @@ "uri":"dew_01_0009.html", "node_id":"dew_01_0009.xml", "product_code":"kms", - "code":"22", - "des":"When uploading an image file to Image Management Service (IMS), you can choose to encrypt the image file using a key provided by KMS to protect the file. Figure 1 describ", + "code":"10", + "des":"When uploading an image file to Image Management Service (IMS), you can choose to encrypt the image file using a key provided by KMS to protect the file, as shown in Figu", "doc_type":"usermanual", "kw":"Encrypting Data in IMS,Cloud Services with KMS Integrated,User Guide", "search_title":"", @@ -402,7 +186,7 @@ "uri":"dew_01_0116.html", "node_id":"dew_01_0116.xml", "product_code":"kms", - "code":"23", + "code":"11", "des":"When creating a file system using the Scalable File Service (SFS), you can select KMS encryption and use the key provided by the KMS to encrypt the file system. For detai", "doc_type":"usermanual", "kw":"Encrypting Data in SFS,Cloud Services with KMS Integrated,User Guide", @@ -420,7 +204,7 @@ "uri":"dew_01_0101.html", "node_id":"dew_01_0101.xml", "product_code":"kms", - "code":"24", + "code":"12", "des":"When a user creates a database instance from Relational Database Service (RDS), the user can select Disk encryption and use the key provided by KMS to encrypt the disk of", "doc_type":"usermanual", "kw":"Encrypting Data in RDS,Cloud Services with KMS Integrated,User Guide", @@ -438,7 +222,7 @@ "uri":"dew_01_0199.html", "node_id":"dew_01_0199.xml", "product_code":"kms", - "code":"25", + "code":"13", "des":"When a user creates a database instance from DDS, the user can select Disk encryption and use the key provided by KMS to encrypt the disk of the database instance. For mo", "doc_type":"usermanual", "kw":"Encrypting Data in DDS,Cloud Services with KMS Integrated,User Guide", @@ -453,11 +237,47 @@ "githuburl":"" }, { - "uri":"kms_01_0016.html", - "node_id":"kms_01_0016.xml", + "uri":"dew_01_0222.html", + "node_id":"dew_01_0222.xml", "product_code":"kms", - "code":"26", - "des":"Object Storage Service (OBS) is a scalable service that provides secure, reliable, and cost-effective cloud storage for massive amounts of data. KMS provides central mana", + "code":"14", + "des":"To ensure that your personal data, such as the username, password, and mobile phone number, will not be leaked or obtained by unauthorized or unauthenticated entities or ", + "doc_type":"usermanual", + "kw":"Personal Data Protection Mechanism,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Personal Data Protection Mechanism", + "githuburl":"" + }, + { + "uri":"dew_01_0018.html", + "node_id":"dew_01_0018.xml", + "product_code":"kms", + "code":"15", + "des":"If you want to assign different access permissions to employees in an enterprise for the DEW resources purchased on the cloud platform, you can use Identity and Access Ma", + "doc_type":"usermanual", + "kw":"Permissions Management,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Permissions Management", + "githuburl":"" + }, + { + "uri":"dew_01_0017.html", + "node_id":"dew_01_0017.xml", + "product_code":"kms", + "code":"16", + "des":"KMS provides CMK management and encryption capabilities for cloud services. The following table lists the cloud services that can use KMS for encryption.CTS provides you ", "doc_type":"usermanual", "kw":"Related Services,Service Overview,User Guide", "search_title":"", @@ -471,13 +291,13 @@ "githuburl":"" }, { - "uri":"kms_01_0018.html", - "node_id":"kms_01_0018.xml", + "uri":"dew_01_0321.html", + "node_id":"dew_01_0321.xml", "product_code":"kms", - "code":"27", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "code":"17", + "des":"This section describes the basic concepts in DEW, helping you understand and use DEW better.", "doc_type":"usermanual", - "kw":"Key Management", + "kw":"Basic Concepts,Service Overview,User Guide", "search_title":"", "metedata":[ { @@ -485,17 +305,53 @@ "documenttype":"usermanual" } ], - "title":"Key Management", + "title":"Basic Concepts", "githuburl":"" }, { - "uri":"kms_01_0194.html", - "node_id":"kms_01_0194.xml", + "uri":"dew_01_0177.html", + "node_id":"dew_01_0177.xml", "product_code":"kms", - "code":"28", - "des":"This section describes how to create a custom key on the KMS management console. You can create up to 100 custom keys, excluding default keys.CMKs can be used for:Server-", + "code":"18", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Creating a Key,Key Management,User Guide", + "kw":"Key Management Service", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Key Management Service", + "githuburl":"" + }, + { + "uri":"dew_01_7775.html", + "node_id":"dew_01_7775.xml", + "product_code":"kms", + "code":"19", + "des":"A master key, the highest level of keys in a cryptographic system, generates and manages other keys, including session keys and data encryption keys, or directly encrypts", + "doc_type":"usermanual", + "kw":"Key Types,Key Management Service,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Key Types", + "githuburl":"" + }, + { + "uri":"dew_01_0178.html", + "node_id":"dew_01_0178.xml", + "product_code":"kms", + "code":"20", + "des":"This section describes how to create a custom key on the KMS console.Custom keys can be categorized into symmetric keys and asymmetric keys.You can create up to 100 custo", + "doc_type":"usermanual", + "kw":"Creating a Key,Key Management Service,User Guide", "search_title":"", "metedata":[ { @@ -507,13 +363,13 @@ "githuburl":"" }, { - "uri":"kms_01_0019.html", - "node_id":"kms_01_0019.xml", + "uri":"dew_01_0142.html", + "node_id":"dew_01_0142.xml", "product_code":"kms", - "code":"29", + "code":"21", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Creating CMKs Using Imported Key Material", + "kw":"Creating CMKs Using Imported Key Materials", "search_title":"", "metedata":[ { @@ -521,17 +377,17 @@ "documenttype":"usermanual" } ], - "title":"Creating CMKs Using Imported Key Material", + "title":"Creating CMKs Using Imported Key Materials", "githuburl":"" }, { - "uri":"kms_01_0054.html", - "node_id":"kms_01_0054.xml", + "uri":"dew_01_0088.html", + "node_id":"dew_01_0088.xml", "product_code":"kms", - "code":"30", - "des":"The custom key contains key metadata (key ID, key name, description, key status, and creation date) and key materials used for encrypting and decrypting data.When a user ", + "code":"22", + "des":"A custom key contains key metadata (key ID, key name, description, key status, and creation date) and key materials used for encrypting and decrypting data.When a user us", "doc_type":"usermanual", - "kw":"Overview,Creating CMKs Using Imported Key Material,User Guide", + "kw":"Overview,Creating CMKs Using Imported Key Materials,User Guide", "search_title":"", "metedata":[ { @@ -543,13 +399,13 @@ "githuburl":"" }, { - "uri":"kms_01_0055.html", - "node_id":"kms_01_0055.xml", + "uri":"dew_01_0089.html", + "node_id":"dew_01_0089.xml", "product_code":"kms", - "code":"31", - "des":"If you want to use your own key material instead of the KMS-generated material, you can use the console to import your key material to KMS. The keys created using importe", + "code":"23", + "des":"If you want to use your own key materials instead of the KMS-generated materials, you can use the console to import your key materials to KMS. CMKs created using imported", "doc_type":"usermanual", - "kw":"Importing a Key Material,Creating CMKs Using Imported Key Material,User Guide", + "kw":"Importing Key Materials,Creating CMKs Using Imported Key Materials,User Guide", "search_title":"", "metedata":[ { @@ -557,17 +413,17 @@ "documenttype":"usermanual" } ], - "title":"Importing a Key Material", + "title":"Importing Key Materials", "githuburl":"" }, { - "uri":"kms_01_0020.html", - "node_id":"kms_01_0020.xml", + "uri":"dew_01_0090.html", + "node_id":"dew_01_0090.xml", "product_code":"kms", - "code":"32", - "des":"When importing key material, you can specify the expiration time. After the key material expires, KMS deletes it, and the status of the custom key changes to Pending impo", + "code":"24", + "des":"When importing key materials, you can specify their expiration time. After the key material expires, KMS deletes it, and the status of the custom key changes to Pending i", "doc_type":"usermanual", - "kw":"Deleting a Key Material,Creating CMKs Using Imported Key Material,User Guide", + "kw":"Deleting Key Materials,Creating CMKs Using Imported Key Materials,User Guide", "search_title":"", "metedata":[ { @@ -575,14 +431,14 @@ "documenttype":"usermanual" } ], - "title":"Deleting a Key Material", + "title":"Deleting Key Materials", "githuburl":"" }, { - "uri":"kms_01_0032.html", - "node_id":"kms_01_0032.xml", + "uri":"dew_01_0028.html", + "node_id":"dew_01_0028.xml", "product_code":"kms", - "code":"33", + "code":"25", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Managing CMKs", @@ -597,13 +453,13 @@ "githuburl":"" }, { - "uri":"kms_01_0096.html", - "node_id":"kms_01_0096.xml", + "uri":"dew_01_0179.html", + "node_id":"dew_01_0179.xml", "product_code":"kms", - "code":"34", - "des":"This section describes how to use the management console to view the information about a custom key, such as its name, status, ID, and creation time. The status of a key ", + "code":"26", + "des":"This section describes how to view the information about the custom key on the KMS console, including thekey name/ID and the creation time. The status of a key can be Ena", "doc_type":"usermanual", - "kw":"Querying a Key,Managing CMKs,User Guide", + "kw":"Viewing a Key,Managing CMKs,User Guide", "search_title":"", "metedata":[ { @@ -611,33 +467,15 @@ "documenttype":"usermanual" } ], - "title":"Querying a Key", + "title":"Viewing a Key", "githuburl":"" }, { - "uri":"kms_01_0033.html", - "node_id":"kms_01_0033.xml", + "uri":"dew_01_0029.html", + "node_id":"dew_01_0029.xml", "product_code":"kms", - "code":"35", - "des":"Key names help you find custom keys more easily.This section describes how to change the name and description of a custom key on the KMS management console.The name and d", - "doc_type":"usermanual", - "kw":"Changing the Name and Description of a Key,Managing CMKs,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Changing the Name and Description of a Key", - "githuburl":"" - }, - { - "uri":"kms_01_0034.html", - "node_id":"kms_01_0034.xml", - "product_code":"kms", - "code":"36", - "des":"This section describes how to use the management console to enable one or multiple custom keys. Only enabled keys can be used to encrypt/decrypt data. A new custom key is", + "code":"27", + "des":"This section describes how to use the KMS console to enable one or more custom keys. Only enabled custom keys can be used to encrypt or decrypt data. A new custom key is ", "doc_type":"usermanual", "kw":"Enabling a Key,Managing CMKs,User Guide", "search_title":"", @@ -651,11 +489,11 @@ "githuburl":"" }, { - "uri":"kms_01_0035.html", - "node_id":"kms_01_0035.xml", + "uri":"dew_01_0030.html", + "node_id":"dew_01_0030.xml", "product_code":"kms", - "code":"37", - "des":"This section describes how to use the management console to disable one or multiple custom keys, thereby protecting data in urgent cases.After being disabled, a custom ke", + "code":"28", + "des":"This section describes how to use the KMS console to disable one or more custom keys, thereby protecting data in urgent cases.After being disabled, a custom key cannot be", "doc_type":"usermanual", "kw":"Disabling a Key,Managing CMKs,User Guide", "search_title":"", @@ -669,11 +507,11 @@ "githuburl":"" }, { - "uri":"kms_01_0072.html", - "node_id":"kms_01_0072.xml", + "uri":"dew_01_0031.html", + "node_id":"dew_01_0031.xml", "product_code":"kms", - "code":"38", - "des":"This section describes how to use the management console to schedule the deletion of one or multiple unwanted custom keys.If deletion is scheduled for a key, the deletion", + "code":"29", + "des":"Before deleting the key, confirm that it is not in use and will not be used.The key to be deleted is in Enabled, Disabled, or Pending import status.A key will not be dele", "doc_type":"usermanual", "kw":"Deleting a Key,Managing CMKs,User Guide", "search_title":"", @@ -687,13 +525,13 @@ "githuburl":"" }, { - "uri":"kms_01_0036.html", - "node_id":"kms_01_0036.xml", + "uri":"dew_01_0032.html", + "node_id":"dew_01_0032.xml", "product_code":"kms", - "code":"39", - "des":"This section describes how to use the management console to cancel the scheduled deletion of a custom key prior to deletion execution.The key for which you want to cancel", + "code":"30", + "des":"This section describes how to use the KMS console to cancel the scheduled deletion of one or more custom keys prior to deletion execution. After the cancellation, the key", "doc_type":"usermanual", - "kw":"Canceling the Scheduled Deletion of a Key,Managing CMKs,User Guide", + "kw":"Canceling the Scheduled Deletion of One or More CMKs,Managing CMKs,User Guide", "search_title":"", "metedata":[ { @@ -701,17 +539,17 @@ "documenttype":"usermanual" } ], - "title":"Canceling the Scheduled Deletion of a Key", + "title":"Canceling the Scheduled Deletion of One or More CMKs", "githuburl":"" }, { "uri":"kms_01_0021.html", "node_id":"kms_01_0021.xml", "product_code":"kms", - "code":"40", + "code":"31", "des":"This section describes how to configure the Simple Message Notification (SMN) function on the Cloud Trace Service (CTS) console.Decryption will fail if the key used for e", "doc_type":"usermanual", - "kw":"Configuring SMN,Key Management,User Guide", + "kw":"Configuring SMN,Key Management Service,User Guide", "search_title":"", "metedata":[ { @@ -723,13 +561,13 @@ "githuburl":"" }, { - "uri":"kms_01_0022.html", - "node_id":"kms_01_0022.xml", + "uri":"dew_01_0022.html", + "node_id":"dew_01_0022.xml", "product_code":"kms", - "code":"41", - "des":"This section describes how to use an online tool to encrypt and decrypt data less than or equal to 4 KB on the KMS console.The desired custom key is in Enabled status.Def", + "code":"32", + "des":"This section describes how to use the online tool to encrypt or decrypt small-size data (4 KB or smaller) on the KMS console.The custom key is in Enabled status.Default k", "doc_type":"usermanual", - "kw":"Encrypting and Decrypting Small-Size Data Online,Key Management,User Guide", + "kw":"Using the Online Tool to Encrypt and Decrypt Small-Size Data,Key Management Service,User Guide", "search_title":"", "metedata":[ { @@ -737,17 +575,17 @@ "documenttype":"usermanual" } ], - "title":"Encrypting and Decrypting Small-Size Data Online", + "title":"Using the Online Tool to Encrypt and Decrypt Small-Size Data", "githuburl":"" }, { - "uri":"en-us_topic_0000002203211100.html", - "node_id":"en-us_topic_0000002203211100.xml", + "uri":"en-us_topic_0000001891946490.html", + "node_id":"en-us_topic_0000001891946490.xml", "product_code":"kms", - "code":"42", + "code":"33", "des":"An alias is an identifier of a key. You can use the alias as the key ID during API calling. The original key alias is not used as the key name.This section describes how ", "doc_type":"usermanual", - "kw":"Key Alias,Key Management,User Guide", + "kw":"Key Alias,Key Management Service,User Guide", "search_title":"", "metedata":[ { @@ -759,10 +597,10 @@ "githuburl":"" }, { - "uri":"kms_01_0023.html", - "node_id":"kms_01_0023.xml", + "uri":"dew_01_0023.html", + "node_id":"dew_01_0023.xml", "product_code":"kms", - "code":"43", + "code":"34", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Managing Tags", @@ -777,11 +615,11 @@ "githuburl":"" }, { - "uri":"kms_01_0024.html", - "node_id":"kms_01_0024.xml", + "uri":"dew_01_0024.html", + "node_id":"dew_01_0024.xml", "product_code":"kms", - "code":"44", - "des":"Tags are used to identify custom keys. You can add tags to custom keys so that you can classify custom keys, trace them, and collect their usage status according to the t", + "code":"35", + "des":"Tags are used to identify keys. You can add tags to custom keys so that you can classify custom keys, trace them, and collect their usage status according to the tags.Tag", "doc_type":"usermanual", "kw":"Adding a Tag,Managing Tags,User Guide", "search_title":"", @@ -795,29 +633,11 @@ "githuburl":"" }, { - "uri":"kms_01_0025.html", - "node_id":"kms_01_0025.xml", + "uri":"dew_01_0026.html", + "node_id":"dew_01_0026.xml", "product_code":"kms", - "code":"45", - "des":"This section describes how to search for tags through KMS. You can search for tags of all custom keys that meet the search criteria in the current project.Tags have been ", - "doc_type":"usermanual", - "kw":"Searching for a Custom Key by Tag,Managing Tags,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Searching for a Custom Key by Tag", - "githuburl":"" - }, - { - "uri":"kms_01_0026.html", - "node_id":"kms_01_0026.xml", - "product_code":"kms", - "code":"46", - "des":"This section describes how to modify tag values on the KMS management console.", + "code":"36", + "des":"This section describes how to modify tag values on the KMS console.", "doc_type":"usermanual", "kw":"Modifying Tag Values,Managing Tags,User Guide", "search_title":"", @@ -831,11 +651,11 @@ "githuburl":"" }, { - "uri":"kms_01_0027.html", - "node_id":"kms_01_0027.xml", + "uri":"dew_01_0027.html", + "node_id":"dew_01_0027.xml", "product_code":"kms", - "code":"47", - "des":"This section describes how to delete tags on the KMS management console.", + "code":"37", + "des":"This section describes how to delete tags on the KMS console.", "doc_type":"usermanual", "kw":"Deleting Tags,Managing Tags,User Guide", "search_title":"", @@ -849,13 +669,13 @@ "githuburl":"" }, { - "uri":"kms_01_0138.html", - "node_id":"kms_01_0138.xml", + "uri":"dew_01_0138.html", + "node_id":"dew_01_0138.xml", "product_code":"kms", - "code":"48", + "code":"38", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Rotating Keys", + "kw":"Rotating CMKs", "search_title":"", "metedata":[ { @@ -863,17 +683,17 @@ "documenttype":"usermanual" } ], - "title":"Rotating Keys", + "title":"Rotating CMKs", "githuburl":"" }, { - "uri":"kms_01_0094.html", - "node_id":"kms_01_0094.xml", + "uri":"dew_01_0094.html", + "node_id":"dew_01_0094.xml", "product_code":"kms", - "code":"49", + "code":"39", "des":"Keys that are widely or repeatedly used are insecure. To enhance the security of encryption keys, you are advised to periodically rotate keys and change their key materia", "doc_type":"usermanual", - "kw":"Key Rotation Overview,Rotating Keys,User Guide", + "kw":"About Key Rotation,Rotating CMKs,User Guide", "search_title":"", "metedata":[ { @@ -881,17 +701,17 @@ "documenttype":"usermanual" } ], - "title":"Key Rotation Overview", + "title":"About Key Rotation", "githuburl":"" }, { - "uri":"kms_01_0139.html", - "node_id":"kms_01_0139.xml", + "uri":"dew_01_0139.html", + "node_id":"dew_01_0139.xml", "product_code":"kms", - "code":"50", - "des":"This section describes how to enable rotation for a key on the KMS console.By default, automatic key rotation is disabled for a CMK. Every time you enable key rotation, K", + "code":"40", + "des":"This section describes how to enable rotation for a key on the KMS console.By default, automatic key rotation is disabled for a custom key. Every time you enable key rota", "doc_type":"usermanual", - "kw":"Enabling Key Rotation,Rotating Keys,User Guide", + "kw":"Enabling Key Rotation,Rotating CMKs,User Guide", "search_title":"", "metedata":[ { @@ -903,13 +723,13 @@ "githuburl":"" }, { - "uri":"kms_01_0095.html", - "node_id":"kms_01_0095.xml", + "uri":"dew_01_7774.html", + "node_id":"dew_01_7774.xml", "product_code":"kms", - "code":"51", - "des":"This section describes how to disable rotation for a key on the KMS console.The key is in Enabled status.The Origin of the key is KMS.Key rotation has been enabled.", + "code":"41", + "des":"This section describes how to disable rotation for a key on the KMS console.The key is enabled.The Origin of the key is KMS.Key rotation has been enabled.", "doc_type":"usermanual", - "kw":"Disabling Key Rotation,Rotating Keys,User Guide", + "kw":"Disabling Key Rotation,Rotating CMKs,User Guide", "search_title":"", "metedata":[ { @@ -921,10 +741,10 @@ "githuburl":"" }, { - "uri":"kms_01_0028.html", - "node_id":"kms_01_0028.xml", + "uri":"dew_01_0095.html", + "node_id":"dew_01_0095.xml", "product_code":"kms", - "code":"52", + "code":"42", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Managing a Grant", @@ -939,11 +759,11 @@ "githuburl":"" }, { - "uri":"kms_01_0029.html", - "node_id":"kms_01_0029.xml", + "uri":"dew_01_0096.html", + "node_id":"dew_01_0096.xml", "product_code":"kms", - "code":"53", - "des":"You can create grants for other users to use the custom key. You can create a maximum of 100 grants for a custom key.The owner of a custom key can create a grant for the ", + "code":"43", + "des":"You can create grants for other users or accounts to use the custom key. You can create a maximum of 100 grants on a custom key.You have obtained the ID of the grantee (u", "doc_type":"usermanual", "kw":"Creating a Grant,Managing a Grant,User Guide", "search_title":"", @@ -957,11 +777,11 @@ "githuburl":"" }, { - "uri":"kms_01_0030.html", - "node_id":"kms_01_0030.xml", + "uri":"dew_01_0097.html", + "node_id":"dew_01_0097.xml", "product_code":"kms", - "code":"54", - "des":"This section describes how to view the details about a grant, such as the grant ID, grantee user ID, granted operation, and creation time.You have created a grant.Table 1", + "code":"44", + "des":"You can view the details about a custom key grant on the KMS console, such as the grant ID, grantee user ID, granted operation, and creation time.You have created a grant", "doc_type":"usermanual", "kw":"Querying a Grant,Managing a Grant,User Guide", "search_title":"", @@ -975,11 +795,11 @@ "githuburl":"" }, { - "uri":"kms_01_0031.html", - "node_id":"kms_01_0031.xml", + "uri":"dew_01_0098.html", + "node_id":"dew_01_0098.xml", "product_code":"kms", - "code":"55", - "des":"You can revoke a grant in either of the following scenarios:A grantee does not need the custom key grant. (The grantee can either tell the user who has created the grant ", + "code":"45", + "des":"You can revoke a grant on the KMS console in either of the following scenarios:A grantee does not need the custom key grant. (The grantee can either tell the user who has", "doc_type":"usermanual", "kw":"Revoking a Grant,Managing a Grant,User Guide", "search_title":"", @@ -993,13 +813,13 @@ "githuburl":"" }, { - "uri":"kms_01_9998.html", - "node_id":"kms_01_9998.xml", + "uri":"dew_01_0019.html", + "node_id":"dew_01_0019.xml", "product_code":"kms", - "code":"56", + "code":"46", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"Permissions Management", + "kw":"Auditing Logs", "search_title":"", "metedata":[ { @@ -1007,17 +827,17 @@ "documenttype":"usermanual" } ], - "title":"Permissions Management", + "title":"Auditing Logs", "githuburl":"" }, { - "uri":"kms_01_9997.html", - "node_id":"kms_01_9997.xml", + "uri":"dew_01_0020.html", + "node_id":"dew_01_0020.xml", "product_code":"kms", - "code":"57", - "des":"This section describes IAM's fine-grained permissions management for your KMS resources. With IAM, you can:Create IAM users for employees based on the organizational stru", + "code":"47", + "des":"The tables in this section describe the operations supported by CTS.", "doc_type":"usermanual", - "kw":"Creating a User and Authorizing the User the Permission to Access KMS,Permissions Management,User Gu", + "kw":"Operations supported by CTS,Auditing Logs,User Guide", "search_title":"", "metedata":[ { @@ -1025,17 +845,71 @@ "documenttype":"usermanual" } ], - "title":"Creating a User and Authorizing the User the Permission to Access KMS", + "title":"Operations supported by CTS", "githuburl":"" }, { - "uri":"kms_01_9996.html", - "node_id":"kms_01_9996.xml", + "uri":"dew_01_0331.html", + "node_id":"dew_01_0331.xml", "product_code":"kms", - "code":"58", - "des":"Custom policies can be created as a supplement to the system policies of KMSfilter. For details about the actions supported by custom policies, see \"Permissions Policies ", + "code":"48", + "des":"Cloud Trace Service (CTS) records operations performed on cloud service resources. A record contains information such as the user who performed the operation, IP address,", "doc_type":"usermanual", - "kw":"Creating a Custom KMS Policy,Permissions Management,User Guide", + "kw":"Viewing CTS Traces in the Trace List,Auditing Logs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Viewing CTS Traces in the Trace List", + "githuburl":"" + }, + { + "uri":"dew_01_0133.html", + "node_id":"dew_01_0133.xml", + "product_code":"kms", + "code":"49", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Permission Control", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Permission Control", + "githuburl":"" + }, + { + "uri":"dew_01_0135.html", + "node_id":"dew_01_0135.xml", + "product_code":"kms", + "code":"50", + "des":"This section describes IAM's fine-grained permissions management for your DEW resources. With IAM, you can:Create IAM users for employees based on the organizational stru", + "doc_type":"usermanual", + "kw":"Creating a User and Authorizing the User the Permission to Access DEW,Permission Control,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Creating a User and Authorizing the User the Permission to Access DEW", + "githuburl":"" + }, + { + "uri":"dew_01_0161.html", + "node_id":"dew_01_0161.xml", + "product_code":"kms", + "code":"51", + "des":"Custom policies can be created as a supplement to the system policies of DEW. For details about the actions supported by custom policies, see \"Permissions Policies and Su", + "doc_type":"usermanual", + "kw":"Creating a Custom KMS Policy,Permission Control,User Guide", "search_title":"", "metedata":[ { @@ -1047,10 +921,10 @@ "githuburl":"" }, { - "uri":"kms_01_0037.html", - "node_id":"kms_01_0037.xml", + "uri":"dew_01_0092.html", + "node_id":"dew_01_0092.xml", "product_code":"kms", - "code":"59", + "code":"52", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"FAQs", @@ -1065,11 +939,11 @@ "githuburl":"" }, { - "uri":"kms_01_0073.html", - "node_id":"kms_01_0073.xml", + "uri":"dew_01_0047.html", + "node_id":"dew_01_0047.xml", "product_code":"kms", - "code":"60", - "des":"Key Management Service (KMS) is a secure, reliable, and easy-to-use service that helps users centrally manage and safeguard their Customer Master Keys (CMKs).This service", + "code":"53", + "des":"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", "doc_type":"usermanual", "kw":"What Is Key Management Service?,FAQs,User Guide", "search_title":"", @@ -1083,11 +957,11 @@ "githuburl":"" }, { - "uri":"kms_01_0074.html", - "node_id":"kms_01_0074.xml", + "uri":"dew_01_0044.html", + "node_id":"dew_01_0044.xml", "product_code":"kms", - "code":"61", - "des":"A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user using KMS. It is used to encrypt and protect Data Encryption Keys (DEKs). One CMK can be used ", + "code":"54", + "des":"A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user on KMS. It is used to encrypt and protect DEKs. One CMK can be used to encrypt one or more DEK", "doc_type":"usermanual", "kw":"What Is a Customer Master Key?,FAQs,User Guide", "search_title":"", @@ -1101,10 +975,28 @@ "githuburl":"" }, { - "uri":"kms_01_0101.html", - "node_id":"kms_01_0101.xml", + "uri":"dew_01_0045.html", + "node_id":"dew_01_0045.xml", "product_code":"kms", - "code":"62", + "code":"55", + "des":"A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The alias of a default key ends with /default.You can use", + "doc_type":"usermanual", + "kw":"What Is a Default Key?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"What Is a Default Key?", + "githuburl":"" + }, + { + "uri":"dew_01_0055.html", + "node_id":"dew_01_0055.xml", + "product_code":"kms", + "code":"56", "des":"The following table describes the differences between a custom key and a default key.", "doc_type":"usermanual", "kw":"What Are the Differences Between a Custom Key and a Default Key?,FAQs,User Guide", @@ -1119,11 +1011,11 @@ "githuburl":"" }, { - "uri":"kms_01_0038.html", - "node_id":"kms_01_0038.xml", + "uri":"dew_01_0046.html", + "node_id":"dew_01_0046.xml", "product_code":"kms", - "code":"63", - "des":"A data encryption key (DEK) is used to encrypt data.", + "code":"57", + "des":"A data encryption key (DEK) is used to encrypt data.Using KMS, you can create, encrypt, and decrypt DEKs. The KMS system does not save, manage, or track your DEKs, neithe", "doc_type":"usermanual", "kw":"What Is a Data Encryption Key?,FAQs,User Guide", "search_title":"", @@ -1137,47 +1029,11 @@ "githuburl":"" }, { - "uri":"kms_01_0040.html", - "node_id":"kms_01_0040.xml", + "uri":"dew_01_0049.html", + "node_id":"dew_01_0049.xml", "product_code":"kms", - "code":"64", - "des":"Object Storage Service (OBS), Elastic Volume Service (EVS), Image Management Service (IMS), Scalable File Service (SFS), and Relational Database Service (RDS) can use KMS", - "doc_type":"usermanual", - "kw":"Which Cloud Services Can Use KMS for Encryption?,FAQs,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Which Cloud Services Can Use KMS for Encryption?", - "githuburl":"" - }, - { - "uri":"kms_01_0093.html", - "node_id":"kms_01_0093.xml", - "product_code":"kms", - "code":"65", - "des":"No.The pending period of a key from its scheduling till its deletion is not charged.However, if you cancel the scheduled deletion, the charging resumes from the time when", - "doc_type":"usermanual", - "kw":"Will a Key Be Charged After It Is Scheduled to Delete?,FAQs,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Will a Key Be Charged After It Is Scheduled to Delete?", - "githuburl":"" - }, - { - "uri":"kms_01_0039.html", - "node_id":"kms_01_0039.xml", - "product_code":"kms", - "code":"66", - "des":"The decision to delete a CMK should be taken with caution. Before deletion, confirm that the CMK's encrypted data has all been migrated. Once the CMK is deleted, you will", + "code":"58", + "des":"The decision to delete a CMK should be considered with great caution. Before deletion, confirm that the CMK's encrypted data has all been migrated. As soon as the CMK is ", "doc_type":"usermanual", "kw":"Why Can't I Delete a CMK Immediately?,FAQs,User Guide", "search_title":"", @@ -1191,13 +1047,13 @@ "githuburl":"" }, { - "uri":"kms_01_0198.html", - "node_id":"kms_01_0198.xml", + "uri":"dew_01_0050.html", + "node_id":"dew_01_0050.xml", "product_code":"kms", - "code":"67", - "des":"There is a limit on the number of custom keys that can be created on KMS.You can create a maximum of 100 custom keys, including those in enabled, disabled, and pending de", + "code":"59", + "des":"Object Storage Service (OBS), Elastic Volume Service (EVS), and Image Management Service (IMS) can use KMS for encryption.Object Storage Service (OBS), Elastic Volume Ser", "doc_type":"usermanual", - "kw":"Is There a Limit on the Number of Custom Keys That I Can Create on KMS?,FAQs,User Guide", + "kw":"Which Cloud Services Can Use KMS for Encryption?,FAQs,User Guide", "search_title":"", "metedata":[ { @@ -1205,14 +1061,32 @@ "documenttype":"usermanual" } ], - "title":"Is There a Limit on the Number of Custom Keys That I Can Create on KMS?", + "title":"Which Cloud Services Can Use KMS for Encryption?", "githuburl":"" }, { - "uri":"kms_01_0106.html", - "node_id":"kms_01_0106.xml", + "uri":"dew_01_0053.html", + "node_id":"dew_01_0053.xml", "product_code":"kms", - "code":"68", + "code":"60", + "des":"Services (such as OBS, IMS, EVS, SFS, DDS, and RDS) use the envelope encryption method provided by KMS to protect data.Envelope encryption is the practice of encrypting d", + "doc_type":"usermanual", + "kw":"How Do Cloud Services Use KMS to Encrypt Data?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"How Do Cloud Services Use KMS to Encrypt Data?", + "githuburl":"" + }, + { + "uri":"dew_01_0054.html", + "node_id":"dew_01_0054.xml", + "product_code":"kms", + "code":"61", "des":"Envelope encryption is the practice of encrypting data with a DEK and then encrypting the DEK with a root key that you can fully manage. In this case, CMKs are not requir", "doc_type":"usermanual", "kw":"What Are the Benefits of Envelope Encryption?,FAQs,User Guide", @@ -1227,10 +1101,28 @@ "githuburl":"" }, { - "uri":"kms_01_0102.html", - "node_id":"kms_01_0102.xml", + "uri":"dew_01_0056.html", + "node_id":"dew_01_0056.xml", "product_code":"kms", - "code":"69", + "code":"62", + "des":"There is a limit on the number of custom keys that can be created on KMS.You can create a maximum of 100 custom keys, including those in enabled, disabled, and pending de", + "doc_type":"usermanual", + "kw":"Is There a Limit on the Number of Custom Keys That I Can Create on KMS?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Is There a Limit on the Number of Custom Keys That I Can Create on KMS?", + "githuburl":"" + }, + { + "uri":"dew_01_0058.html", + "node_id":"dew_01_0058.xml", + "product_code":"kms", + "code":"63", "des":"No.To ensure CMK security, users can only create and use CMKs in KMS.", "doc_type":"usermanual", "kw":"Can I Export a CMK from KMS?,FAQs,User Guide", @@ -1245,11 +1137,29 @@ "githuburl":"" }, { - "uri":"kms_01_0107.html", - "node_id":"kms_01_0107.xml", + "uri":"dew_01_0059.html", + "node_id":"dew_01_0059.xml", "product_code":"kms", - "code":"70", - "des":"You can use the online tool to encrypt or decrypt data in the following procedures:The key you clicked is used for encryption.To clear your input, click Clear.To copy the", + "code":"64", + "des":"No.If you have permanently deleted your custom key, the data encrypted using it cannot be decrypted. Before the scheduled deletion date of the custom key, you can cancel ", + "doc_type":"usermanual", + "kw":"Can I Decrypt My Data if I Permanently Delete My Custom Key?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Can I Decrypt My Data if I Permanently Delete My Custom Key?", + "githuburl":"" + }, + { + "uri":"dew_01_0060.html", + "node_id":"dew_01_0060.xml", + "product_code":"kms", + "code":"65", + "des":"You can use the online tool to encrypt or decrypt data in the following procedures:Use the current CMK to encrypt the data.To clear your input, click Clear.To copy the en", "doc_type":"usermanual", "kw":"How Do I Use the Online Tool to Encrypt or Decrypt Small Volumes of Data?,FAQs,User Guide", "search_title":"", @@ -1263,10 +1173,10 @@ "githuburl":"" }, { - "uri":"kms_01_0114.html", - "node_id":"kms_01_0114.xml", + "uri":"dew_01_0062.html", + "node_id":"dew_01_0062.xml", "product_code":"kms", - "code":"71", + "code":"66", "des":"No.Keys created using KMS-generated materials cannot be updated. You can only use KMS to create new CMKs to encrypt and decrypt data.", "doc_type":"usermanual", "kw":"Can I Update CMKs Created by KMS-Generated Key Materials?,FAQs,User Guide", @@ -1281,10 +1191,136 @@ "githuburl":"" }, { - "uri":"kms_01_0193.html", - "node_id":"kms_01_0193.xml", + "uri":"dew_01_0102.html", + "node_id":"dew_01_0102.xml", + "product_code":"kms", + "code":"67", + "des":"If you do not want to use KMS-generated key materials, you can import your own key materials to create a CMK. Such a CMK allows deletion of only the key materials when yo", + "doc_type":"usermanual", + "kw":"When Should I Use a CMK Created with Imported Key Materials?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"When Should I Use a CMK Created with Imported Key Materials?", + "githuburl":"" + }, + { + "uri":"dew_01_0103.html", + "node_id":"dew_01_0103.xml", + "product_code":"kms", + "code":"68", + "des":"The following table lists the types of keys that can be imported.", + "doc_type":"usermanual", + "kw":"What Types of Keys Can I Import?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"What Types of Keys Can I Import?", + "githuburl":"" + }, + { + "uri":"dew_01_0104.html", + "node_id":"dew_01_0104.xml", + "product_code":"kms", + "code":"69", + "des":"You can import the backup key materials from your local device again.Before importing key materials, you are advised to back up the materials. The materials to be re-impo", + "doc_type":"usermanual", + "kw":"What Should I Do When I Accidentally Delete Key Materials?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"What Should I Do When I Accidentally Delete Key Materials?", + "githuburl":"" + }, + { + "uri":"dew_01_0182.html", + "node_id":"dew_01_0182.xml", + "product_code":"kms", + "code":"70", + "des":"A message indicating lack of permissions is displayed when you attempt to perform operations on keys, such as view, create, or import keys.Your account is not associated ", + "doc_type":"usermanual", + "kw":"What Should I Do If I Do Not Have the Permissions to Perform Operations on KMS?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"What Should I Do If I Do Not Have the Permissions to Perform Operations on KMS?", + "githuburl":"" + }, + { + "uri":"dew_01_0186.html", + "node_id":"dew_01_0186.xml", + "product_code":"kms", + "code":"71", + "des":"By default, the -id-aes256-wrap-pad algorithm is not enabled in OpenSSL. To wrap a key, upgrade OpenSSL to the latest version and patch it first.Use bash commands to crea", + "doc_type":"usermanual", + "kw":"Why Can't I Wrap Asymmetric Keys by Using -id-aes256-wrap-pad in OpenSSL?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Why Can't I Wrap Asymmetric Keys by Using -id-aes256-wrap-pad in OpenSSL?", + "githuburl":"" + }, + { + "uri":"dew_01_0189.html", + "node_id":"dew_01_0189.xml", "product_code":"kms", "code":"72", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Key Algorithms Supported by KMS,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"Key Algorithms Supported by KMS", + "githuburl":"" + }, + { + "uri":"dew_01_0215.html", + "node_id":"dew_01_0215.xml", + "product_code":"kms", + "code":"73", + "des":"The basic length of the ciphertext returned by the encrypt-data API is 124 bytes. The ciphertext consists of multiple fields, including the key ID, encryption algorithm, ", + "doc_type":"usermanual", + "kw":"What Is the Relationship Between the Ciphertext and Plaintext Returned by the encrypt-data API?,FAQs", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"What Is the Relationship Between the Ciphertext and Plaintext Returned by the encrypt-data API?", + "githuburl":"" + }, + { + "uri":"dew_01_0227.html", + "node_id":"dew_01_0227.xml", + "product_code":"kms", + "code":"74", "des":"The mechanism of KMS prevents anyone from accessing your keys in plaintext. KMS relies on hardware security modules (HSMs) that safeguard the confidentiality and integrit", "doc_type":"usermanual", "kw":"How Does KMS Protect My Keys?,FAQs,User Guide", @@ -1299,10 +1335,28 @@ "githuburl":"" }, { - "uri":"kms_01_0043.html", - "node_id":"kms_01_0043.xml", + "uri":"dew_01_0472.html", + "node_id":"dew_01_0472.xml", "product_code":"kms", - "code":"73", + "code":"75", + "des":"The EC private key is a large integer. However, in the key pair import scenario, the private key must be ASN.1-encoded and then the data must be encoded in binary mode to", + "doc_type":"usermanual", + "kw":"How Do I Convert an Original EC Private Key into a Private Key in PKCS8 Format?,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"kms", + "documenttype":"usermanual" + } + ], + "title":"How Do I Convert an Original EC Private Key into a Private Key in PKCS8 Format?", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001682248672.html", + "node_id":"en-us_topic_0000001682248672.xml", + "product_code":"kms", + "code":"76", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Change History,User Guide", @@ -1315,23 +1369,5 @@ ], "title":"Change History", "githuburl":"" - }, - { - "uri":"kms_01_0044.html", - "node_id":"kms_01_0044.xml", - "product_code":"kms", - "code":"74", - "des":"For details about the glossaries in this document, see Glossary.", - "doc_type":"usermanual", - "kw":"Glossary,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"kms", - "documenttype":"usermanual" - } - ], - "title":"Glossary", - "githuburl":"" } ] \ No newline at end of file diff --git a/docs/kms/umn/CLASS.TXT.json b/docs/kms/umn/CLASS.TXT.json index 5939d2747..0c1cc0330 100644 --- a/docs/kms/umn/CLASS.TXT.json +++ b/docs/kms/umn/CLASS.TXT.json @@ -3,7 +3,7 @@ "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", "title":"Service Overview", - "uri":"kms_01_0109.html", + "uri":"dew_01_0091.html", "doc_type":"usermanual", "p_code":"", "code":"1" @@ -11,173 +11,65 @@ { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", - "title":"Key Management", - "uri":"kms_01_0045.html", + "title":"KMS", + "uri":"dew_01_0121.html", "doc_type":"usermanual", "p_code":"1", "code":"2" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"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", "product_code":"kms", - "title":"Concepts", - "uri":"kms_01_0003.html", + "title":"Functions", + "uri":"dew_01_0001.html", "doc_type":"usermanual", "p_code":"2", "code":"3" }, - { - "desc":"Key Management Service (KMS) is a secure, reliable, and easy-to-use service that helps users centrally manage and safeguard their Customer Master Keys (CMKs).This service", - "product_code":"kms", - "title":"KMS", - "uri":"kms_01_0004.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"4" - }, - { - "desc":"A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user using KMS. It is used to encrypt and protect Data Encryption Keys (DEKs). One CMK can be used ", - "product_code":"kms", - "title":"CMK", - "uri":"kms_01_0005.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"5" - }, - { - "desc":"A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The name of a default key ends with /default.You can use ", - "product_code":"kms", - "title":"Default Key", - "uri":"kms_01_0006.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"6" - }, - { - "desc":"Data Encryption Keys (DEKs) are used by users to encrypt data.", - "product_code":"kms", - "title":"DEK", - "uri":"kms_01_0007.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"7" - }, - { - "desc":"A Hardware Security Module (HSM) securely produces, stores, manages, and uses keys and provides encryption services.", - "product_code":"kms", - "title":"HSM", - "uri":"kms_01_0008.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"8" - }, - { - "desc":"Envelope encryption is an encryption method that enables DEKs to be stored, transmitted, and used in \"envelopes.\" As a result, CMKs are not used to directly encrypt and d", - "product_code":"kms", - "title":"Envelope Encryption", - "uri":"kms_01_0009.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"9" - }, - { - "desc":"A true random number generator (TRNG) is a device that generates unpredictable random numbers by physical procedures instead of computer programs.", - "product_code":"kms", - "title":"TRNG", - "uri":"kms_01_0010.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"10" - }, - { - "desc":"A project is used to group and isolate OpenStack resources, including computing, storage, and network resources. A project can be a department or a project team.Multiple ", - "product_code":"kms", - "title":"Project", - "uri":"kms_01_0012.html", - "doc_type":"usermanual", - "p_code":"3", - "code":"11" - }, - { - "desc":"KMS provides the following functions:Manages custom keys.You can perform the following operations on custom keys on the KMS console or via APIs:Creating, querying, enabli", - "product_code":"kms", - "title":"Functions", - "uri":"kms_01_0047.html", - "doc_type":"usermanual", - "p_code":"2", - "code":"12" - }, { "desc":"By integrating with OBS, EVS, and IMS, you can use KMS to manage the keys of the services or use KMS APIs to encrypt and decrypt local data.By integrating with Cloud Trac", "product_code":"kms", "title":"Advantages", - "uri":"kms_01_0100.html", + "uri":"dew_01_0115.html", "doc_type":"usermanual", "p_code":"2", - "code":"13" + "code":"4" }, { - "desc":"KMS can manage CMKs used for data encryption and decryption in Object Storage Service (OBS), Elastic Volume Service (EVS), Image Management Service (IMS), Scalable File S", + "desc":"You can use the online tool on the KMS console or call KMS APIs to directly encrypt or decrypt a small amount of data, such as passwords, certificates, or phone numbers. ", "product_code":"kms", "title":"Application Scenarios", - "uri":"kms_01_0046.html", + "uri":"dew_01_0006.html", "doc_type":"usermanual", "p_code":"2", - "code":"14" + "code":"5" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"Cloud services use the envelope encryption technology and call KMS APIs to encrypt service resources. Your CMKs are under your own management. With your grant, cloud serv", "product_code":"kms", - "title":"Accessing and Using KMS", - "uri":"kms_01_0013.html", + "title":"Using KMS for Encryption", + "uri":"dew_01_0016.html", "doc_type":"usermanual", "p_code":"2", - "code":"15" - }, - { - "desc":"The cloud service provides a web-based service management platform. You can access KMS using HTTPS-compliant APIs or the management console.Management consoleIf you have ", - "product_code":"kms", - "title":"How to Access KMS", - "uri":"kms_01_0014.html", - "doc_type":"usermanual", - "p_code":"15", - "code":"16" - }, - { - "desc":"Users can upload objects to and download them from Object Storage Service (OBS) in common mode or server-side encryption mode. When users upload objects in encryption mod", - "product_code":"kms", - "title":"How to Use KMS", - "uri":"kms_01_0015.html", - "doc_type":"usermanual", - "p_code":"15", - "code":"17" - }, - { - "desc":"If you want to assign different access permissions to employees in an enterprise for the KMS resources purchased on the cloud platform, you can use Identity and Access Ma", - "product_code":"kms", - "title":"KMS Permission Management", - "uri":"kms_01_9999.html", - "doc_type":"usermanual", - "p_code":"1", - "code":"18" + "code":"6" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", "title":"Cloud Services with KMS Integrated", - "uri":"dew_01_0106.html", + "uri":"en-us_topic_0000002248485012.html", "doc_type":"usermanual", - "p_code":"1", - "code":"19" + "p_code":"2", + "code":"7" }, { - "desc":"When using Object Storage Service (OBS) to upload data with server-side encryption, you can select SEE-KMS encryption and use the key provided by KMS to encrypt the files", + "desc":"When using OBS to upload data with server-side encryption, you can select SEE-KMS encryption and use the key provided by KMS to encrypt the files to be uploaded, as shown", "product_code":"kms", "title":"Encrypting Data in OBS", "uri":"dew_01_0007.html", "doc_type":"usermanual", - "p_code":"19", - "code":"20" + "p_code":"7", + "code":"8" }, { "desc":"When purchasing a disk, you can choose Advanced Settings > Encryption to encrypt the disk using the key provided by KMS. For details, see Figure 1. For more information a", @@ -185,17 +77,17 @@ "title":"Encrypting Data in EVS", "uri":"dew_01_0008.html", "doc_type":"usermanual", - "p_code":"19", - "code":"21" + "p_code":"7", + "code":"9" }, { - "desc":"When uploading an image file to Image Management Service (IMS), you can choose to encrypt the image file using a key provided by KMS to protect the file. Figure 1 describ", + "desc":"When uploading an image file to Image Management Service (IMS), you can choose to encrypt the image file using a key provided by KMS to protect the file, as shown in Figu", "product_code":"kms", "title":"Encrypting Data in IMS", "uri":"dew_01_0009.html", "doc_type":"usermanual", - "p_code":"19", - "code":"22" + "p_code":"7", + "code":"10" }, { "desc":"When creating a file system using the Scalable File Service (SFS), you can select KMS encryption and use the key provided by the KMS to encrypt the file system. For detai", @@ -203,8 +95,8 @@ "title":"Encrypting Data in SFS", "uri":"dew_01_0116.html", "doc_type":"usermanual", - "p_code":"19", - "code":"23" + "p_code":"7", + "code":"11" }, { "desc":"When a user creates a database instance from Relational Database Service (RDS), the user can select Disk encryption and use the key provided by KMS to encrypt the disk of", @@ -212,8 +104,8 @@ "title":"Encrypting Data in RDS", "uri":"dew_01_0101.html", "doc_type":"usermanual", - "p_code":"19", - "code":"24" + "p_code":"7", + "code":"12" }, { "desc":"When a user creates a database instance from DDS, the user can select Disk encryption and use the key provided by KMS to encrypt the disk of the database instance. For mo", @@ -221,134 +113,161 @@ "title":"Encrypting Data in DDS", "uri":"dew_01_0199.html", "doc_type":"usermanual", - "p_code":"19", - "code":"25" + "p_code":"7", + "code":"13" }, { - "desc":"Object Storage Service (OBS) is a scalable service that provides secure, reliable, and cost-effective cloud storage for massive amounts of data. KMS provides central mana", + "desc":"To ensure that your personal data, such as the username, password, and mobile phone number, will not be leaked or obtained by unauthorized or unauthenticated entities or ", "product_code":"kms", - "title":"Related Services", - "uri":"kms_01_0016.html", + "title":"Personal Data Protection Mechanism", + "uri":"dew_01_0222.html", "doc_type":"usermanual", "p_code":"1", - "code":"26" + "code":"14" + }, + { + "desc":"If you want to assign different access permissions to employees in an enterprise for the DEW resources purchased on the cloud platform, you can use Identity and Access Ma", + "product_code":"kms", + "title":"Permissions Management", + "uri":"dew_01_0018.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"15" + }, + { + "desc":"KMS provides CMK management and encryption capabilities for cloud services. The following table lists the cloud services that can use KMS for encryption.CTS provides you ", + "product_code":"kms", + "title":"Related Services", + "uri":"dew_01_0017.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"16" + }, + { + "desc":"This section describes the basic concepts in DEW, helping you understand and use DEW better.", + "product_code":"kms", + "title":"Basic Concepts", + "uri":"dew_01_0321.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"17" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", - "title":"Key Management", - "uri":"kms_01_0018.html", + "title":"Key Management Service", + "uri":"dew_01_0177.html", "doc_type":"usermanual", "p_code":"", - "code":"27" + "code":"18" }, { - "desc":"This section describes how to create a custom key on the KMS management console. You can create up to 100 custom keys, excluding default keys.CMKs can be used for:Server-", + "desc":"A master key, the highest level of keys in a cryptographic system, generates and manages other keys, including session keys and data encryption keys, or directly encrypts", + "product_code":"kms", + "title":"Key Types", + "uri":"dew_01_7775.html", + "doc_type":"usermanual", + "p_code":"18", + "code":"19" + }, + { + "desc":"This section describes how to create a custom key on the KMS console.Custom keys can be categorized into symmetric keys and asymmetric keys.You can create up to 100 custo", "product_code":"kms", "title":"Creating a Key", - "uri":"kms_01_0194.html", + "uri":"dew_01_0178.html", "doc_type":"usermanual", - "p_code":"27", - "code":"28" + "p_code":"18", + "code":"20" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", - "title":"Creating CMKs Using Imported Key Material", - "uri":"kms_01_0019.html", + "title":"Creating CMKs Using Imported Key Materials", + "uri":"dew_01_0142.html", "doc_type":"usermanual", - "p_code":"27", - "code":"29" + "p_code":"18", + "code":"21" }, { - "desc":"The custom key contains key metadata (key ID, key name, description, key status, and creation date) and key materials used for encrypting and decrypting data.When a user ", + "desc":"A custom key contains key metadata (key ID, key name, description, key status, and creation date) and key materials used for encrypting and decrypting data.When a user us", "product_code":"kms", "title":"Overview", - "uri":"kms_01_0054.html", + "uri":"dew_01_0088.html", "doc_type":"usermanual", - "p_code":"29", - "code":"30" + "p_code":"21", + "code":"22" }, { - "desc":"If you want to use your own key material instead of the KMS-generated material, you can use the console to import your key material to KMS. The keys created using importe", + "desc":"If you want to use your own key materials instead of the KMS-generated materials, you can use the console to import your key materials to KMS. CMKs created using imported", "product_code":"kms", - "title":"Importing a Key Material", - "uri":"kms_01_0055.html", + "title":"Importing Key Materials", + "uri":"dew_01_0089.html", "doc_type":"usermanual", - "p_code":"29", - "code":"31" + "p_code":"21", + "code":"23" }, { - "desc":"When importing key material, you can specify the expiration time. After the key material expires, KMS deletes it, and the status of the custom key changes to Pending impo", + "desc":"When importing key materials, you can specify their expiration time. After the key material expires, KMS deletes it, and the status of the custom key changes to Pending i", "product_code":"kms", - "title":"Deleting a Key Material", - "uri":"kms_01_0020.html", + "title":"Deleting Key Materials", + "uri":"dew_01_0090.html", "doc_type":"usermanual", - "p_code":"29", - "code":"32" + "p_code":"21", + "code":"24" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", "title":"Managing CMKs", - "uri":"kms_01_0032.html", + "uri":"dew_01_0028.html", "doc_type":"usermanual", - "p_code":"27", - "code":"33" + "p_code":"18", + "code":"25" }, { - "desc":"This section describes how to use the management console to view the information about a custom key, such as its name, status, ID, and creation time. The status of a key ", + "desc":"This section describes how to view the information about the custom key on the KMS console, including thekey name/ID and the creation time. The status of a key can be Ena", "product_code":"kms", - "title":"Querying a Key", - "uri":"kms_01_0096.html", + "title":"Viewing a Key", + "uri":"dew_01_0179.html", "doc_type":"usermanual", - "p_code":"33", - "code":"34" + "p_code":"25", + "code":"26" }, { - "desc":"Key names help you find custom keys more easily.This section describes how to change the name and description of a custom key on the KMS management console.The name and d", - "product_code":"kms", - "title":"Changing the Name and Description of a Key", - "uri":"kms_01_0033.html", - "doc_type":"usermanual", - "p_code":"33", - "code":"35" - }, - { - "desc":"This section describes how to use the management console to enable one or multiple custom keys. Only enabled keys can be used to encrypt/decrypt data. A new custom key is", + "desc":"This section describes how to use the KMS console to enable one or more custom keys. Only enabled custom keys can be used to encrypt or decrypt data. A new custom key is ", "product_code":"kms", "title":"Enabling a Key", - "uri":"kms_01_0034.html", + "uri":"dew_01_0029.html", "doc_type":"usermanual", - "p_code":"33", - "code":"36" + "p_code":"25", + "code":"27" }, { - "desc":"This section describes how to use the management console to disable one or multiple custom keys, thereby protecting data in urgent cases.After being disabled, a custom ke", + "desc":"This section describes how to use the KMS console to disable one or more custom keys, thereby protecting data in urgent cases.After being disabled, a custom key cannot be", "product_code":"kms", "title":"Disabling a Key", - "uri":"kms_01_0035.html", + "uri":"dew_01_0030.html", "doc_type":"usermanual", - "p_code":"33", - "code":"37" + "p_code":"25", + "code":"28" }, { - "desc":"This section describes how to use the management console to schedule the deletion of one or multiple unwanted custom keys.If deletion is scheduled for a key, the deletion", + "desc":"Before deleting the key, confirm that it is not in use and will not be used.The key to be deleted is in Enabled, Disabled, or Pending import status.A key will not be dele", "product_code":"kms", "title":"Deleting a Key", - "uri":"kms_01_0072.html", + "uri":"dew_01_0031.html", "doc_type":"usermanual", - "p_code":"33", - "code":"38" + "p_code":"25", + "code":"29" }, { - "desc":"This section describes how to use the management console to cancel the scheduled deletion of a custom key prior to deletion execution.The key for which you want to cancel", + "desc":"This section describes how to use the KMS console to cancel the scheduled deletion of one or more custom keys prior to deletion execution. After the cancellation, the key", "product_code":"kms", - "title":"Canceling the Scheduled Deletion of a Key", - "uri":"kms_01_0036.html", + "title":"Canceling the Scheduled Deletion of One or More CMKs", + "uri":"dew_01_0032.html", "doc_type":"usermanual", - "p_code":"33", - "code":"39" + "p_code":"25", + "code":"30" }, { "desc":"This section describes how to configure the Simple Message Notification (SMN) function on the Cloud Trace Service (CTS) console.Decryption will fail if the key used for e", @@ -356,313 +275,412 @@ "title":"Configuring SMN", "uri":"kms_01_0021.html", "doc_type":"usermanual", - "p_code":"27", - "code":"40" + "p_code":"18", + "code":"31" }, { - "desc":"This section describes how to use an online tool to encrypt and decrypt data less than or equal to 4 KB on the KMS console.The desired custom key is in Enabled status.Def", + "desc":"This section describes how to use the online tool to encrypt or decrypt small-size data (4 KB or smaller) on the KMS console.The custom key is in Enabled status.Default k", "product_code":"kms", - "title":"Encrypting and Decrypting Small-Size Data Online", - "uri":"kms_01_0022.html", + "title":"Using the Online Tool to Encrypt and Decrypt Small-Size Data", + "uri":"dew_01_0022.html", "doc_type":"usermanual", - "p_code":"27", - "code":"41" + "p_code":"18", + "code":"32" }, { "desc":"An alias is an identifier of a key. You can use the alias as the key ID during API calling. The original key alias is not used as the key name.This section describes how ", "product_code":"kms", "title":"Key Alias", - "uri":"en-us_topic_0000002203211100.html", + "uri":"en-us_topic_0000001891946490.html", "doc_type":"usermanual", - "p_code":"27", - "code":"42" + "p_code":"18", + "code":"33" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", "title":"Managing Tags", - "uri":"kms_01_0023.html", + "uri":"dew_01_0023.html", "doc_type":"usermanual", - "p_code":"27", - "code":"43" + "p_code":"18", + "code":"34" }, { - "desc":"Tags are used to identify custom keys. You can add tags to custom keys so that you can classify custom keys, trace them, and collect their usage status according to the t", + "desc":"Tags are used to identify keys. You can add tags to custom keys so that you can classify custom keys, trace them, and collect their usage status according to the tags.Tag", "product_code":"kms", "title":"Adding a Tag", - "uri":"kms_01_0024.html", + "uri":"dew_01_0024.html", "doc_type":"usermanual", - "p_code":"43", - "code":"44" + "p_code":"34", + "code":"35" }, { - "desc":"This section describes how to search for tags through KMS. You can search for tags of all custom keys that meet the search criteria in the current project.Tags have been ", - "product_code":"kms", - "title":"Searching for a Custom Key by Tag", - "uri":"kms_01_0025.html", - "doc_type":"usermanual", - "p_code":"43", - "code":"45" - }, - { - "desc":"This section describes how to modify tag values on the KMS management console.", + "desc":"This section describes how to modify tag values on the KMS console.", "product_code":"kms", "title":"Modifying Tag Values", - "uri":"kms_01_0026.html", + "uri":"dew_01_0026.html", "doc_type":"usermanual", - "p_code":"43", - "code":"46" + "p_code":"34", + "code":"36" }, { - "desc":"This section describes how to delete tags on the KMS management console.", + "desc":"This section describes how to delete tags on the KMS console.", "product_code":"kms", "title":"Deleting Tags", - "uri":"kms_01_0027.html", + "uri":"dew_01_0027.html", "doc_type":"usermanual", - "p_code":"43", - "code":"47" + "p_code":"34", + "code":"37" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", - "title":"Rotating Keys", - "uri":"kms_01_0138.html", + "title":"Rotating CMKs", + "uri":"dew_01_0138.html", "doc_type":"usermanual", - "p_code":"27", - "code":"48" + "p_code":"18", + "code":"38" }, { "desc":"Keys that are widely or repeatedly used are insecure. To enhance the security of encryption keys, you are advised to periodically rotate keys and change their key materia", "product_code":"kms", - "title":"Key Rotation Overview", - "uri":"kms_01_0094.html", + "title":"About Key Rotation", + "uri":"dew_01_0094.html", "doc_type":"usermanual", - "p_code":"48", - "code":"49" + "p_code":"38", + "code":"39" }, { - "desc":"This section describes how to enable rotation for a key on the KMS console.By default, automatic key rotation is disabled for a CMK. Every time you enable key rotation, K", + "desc":"This section describes how to enable rotation for a key on the KMS console.By default, automatic key rotation is disabled for a custom key. Every time you enable key rota", "product_code":"kms", "title":"Enabling Key Rotation", - "uri":"kms_01_0139.html", + "uri":"dew_01_0139.html", "doc_type":"usermanual", - "p_code":"48", - "code":"50" + "p_code":"38", + "code":"40" }, { - "desc":"This section describes how to disable rotation for a key on the KMS console.The key is in Enabled status.The Origin of the key is KMS.Key rotation has been enabled.", + "desc":"This section describes how to disable rotation for a key on the KMS console.The key is enabled.The Origin of the key is KMS.Key rotation has been enabled.", "product_code":"kms", "title":"Disabling Key Rotation", - "uri":"kms_01_0095.html", + "uri":"dew_01_7774.html", "doc_type":"usermanual", - "p_code":"48", - "code":"51" + "p_code":"38", + "code":"41" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", "title":"Managing a Grant", - "uri":"kms_01_0028.html", + "uri":"dew_01_0095.html", "doc_type":"usermanual", - "p_code":"27", - "code":"52" + "p_code":"18", + "code":"42" }, { - "desc":"You can create grants for other users to use the custom key. You can create a maximum of 100 grants for a custom key.The owner of a custom key can create a grant for the ", + "desc":"You can create grants for other users or accounts to use the custom key. You can create a maximum of 100 grants on a custom key.You have obtained the ID of the grantee (u", "product_code":"kms", "title":"Creating a Grant", - "uri":"kms_01_0029.html", + "uri":"dew_01_0096.html", "doc_type":"usermanual", - "p_code":"52", - "code":"53" + "p_code":"42", + "code":"43" }, { - "desc":"This section describes how to view the details about a grant, such as the grant ID, grantee user ID, granted operation, and creation time.You have created a grant.Table 1", + "desc":"You can view the details about a custom key grant on the KMS console, such as the grant ID, grantee user ID, granted operation, and creation time.You have created a grant", "product_code":"kms", "title":"Querying a Grant", - "uri":"kms_01_0030.html", + "uri":"dew_01_0097.html", "doc_type":"usermanual", - "p_code":"52", - "code":"54" + "p_code":"42", + "code":"44" }, { - "desc":"You can revoke a grant in either of the following scenarios:A grantee does not need the custom key grant. (The grantee can either tell the user who has created the grant ", + "desc":"You can revoke a grant on the KMS console in either of the following scenarios:A grantee does not need the custom key grant. (The grantee can either tell the user who has", "product_code":"kms", "title":"Revoking a Grant", - "uri":"kms_01_0031.html", + "uri":"dew_01_0098.html", "doc_type":"usermanual", - "p_code":"52", - "code":"55" + "p_code":"42", + "code":"45" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", - "title":"Permissions Management", - "uri":"kms_01_9998.html", + "title":"Auditing Logs", + "uri":"dew_01_0019.html", "doc_type":"usermanual", "p_code":"", - "code":"56" + "code":"46" }, { - "desc":"This section describes IAM's fine-grained permissions management for your KMS resources. With IAM, you can:Create IAM users for employees based on the organizational stru", + "desc":"The tables in this section describe the operations supported by CTS.", "product_code":"kms", - "title":"Creating a User and Authorizing the User the Permission to Access KMS", - "uri":"kms_01_9997.html", + "title":"Operations supported by CTS", + "uri":"dew_01_0020.html", "doc_type":"usermanual", - "p_code":"56", - "code":"57" + "p_code":"46", + "code":"47" }, { - "desc":"Custom policies can be created as a supplement to the system policies of KMSfilter. For details about the actions supported by custom policies, see \"Permissions Policies ", + "desc":"Cloud Trace Service (CTS) records operations performed on cloud service resources. A record contains information such as the user who performed the operation, IP address,", + "product_code":"kms", + "title":"Viewing CTS Traces in the Trace List", + "uri":"dew_01_0331.html", + "doc_type":"usermanual", + "p_code":"46", + "code":"48" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"kms", + "title":"Permission Control", + "uri":"dew_01_0133.html", + "doc_type":"usermanual", + "p_code":"", + "code":"49" + }, + { + "desc":"This section describes IAM's fine-grained permissions management for your DEW resources. With IAM, you can:Create IAM users for employees based on the organizational stru", + "product_code":"kms", + "title":"Creating a User and Authorizing the User the Permission to Access DEW", + "uri":"dew_01_0135.html", + "doc_type":"usermanual", + "p_code":"49", + "code":"50" + }, + { + "desc":"Custom policies can be created as a supplement to the system policies of DEW. For details about the actions supported by custom policies, see \"Permissions Policies and Su", "product_code":"kms", "title":"Creating a Custom KMS Policy", - "uri":"kms_01_9996.html", + "uri":"dew_01_0161.html", "doc_type":"usermanual", - "p_code":"56", - "code":"58" + "p_code":"49", + "code":"51" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", "title":"FAQs", - "uri":"kms_01_0037.html", + "uri":"dew_01_0092.html", "doc_type":"usermanual", "p_code":"", - "code":"59" + "code":"52" }, { - "desc":"Key Management Service (KMS) is a secure, reliable, and easy-to-use service that helps users centrally manage and safeguard their Customer Master Keys (CMKs).This service", + "desc":"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", "product_code":"kms", "title":"What Is Key Management Service?", - "uri":"kms_01_0073.html", + "uri":"dew_01_0047.html", "doc_type":"usermanual", - "p_code":"59", - "code":"60" + "p_code":"52", + "code":"53" }, { - "desc":"A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user using KMS. It is used to encrypt and protect Data Encryption Keys (DEKs). One CMK can be used ", + "desc":"A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user on KMS. It is used to encrypt and protect DEKs. One CMK can be used to encrypt one or more DEK", "product_code":"kms", "title":"What Is a Customer Master Key?", - "uri":"kms_01_0074.html", + "uri":"dew_01_0044.html", "doc_type":"usermanual", - "p_code":"59", - "code":"61" + "p_code":"52", + "code":"54" + }, + { + "desc":"A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The alias of a default key ends with /default.You can use", + "product_code":"kms", + "title":"What Is a Default Key?", + "uri":"dew_01_0045.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"55" }, { "desc":"The following table describes the differences between a custom key and a default key.", "product_code":"kms", "title":"What Are the Differences Between a Custom Key and a Default Key?", - "uri":"kms_01_0101.html", + "uri":"dew_01_0055.html", "doc_type":"usermanual", - "p_code":"59", - "code":"62" + "p_code":"52", + "code":"56" }, { - "desc":"A data encryption key (DEK) is used to encrypt data.", + "desc":"A data encryption key (DEK) is used to encrypt data.Using KMS, you can create, encrypt, and decrypt DEKs. The KMS system does not save, manage, or track your DEKs, neithe", "product_code":"kms", "title":"What Is a Data Encryption Key?", - "uri":"kms_01_0038.html", + "uri":"dew_01_0046.html", "doc_type":"usermanual", - "p_code":"59", - "code":"63" + "p_code":"52", + "code":"57" }, { - "desc":"Object Storage Service (OBS), Elastic Volume Service (EVS), Image Management Service (IMS), Scalable File Service (SFS), and Relational Database Service (RDS) can use KMS", - "product_code":"kms", - "title":"Which Cloud Services Can Use KMS for Encryption?", - "uri":"kms_01_0040.html", - "doc_type":"usermanual", - "p_code":"59", - "code":"64" - }, - { - "desc":"No.The pending period of a key from its scheduling till its deletion is not charged.However, if you cancel the scheduled deletion, the charging resumes from the time when", - "product_code":"kms", - "title":"Will a Key Be Charged After It Is Scheduled to Delete?", - "uri":"kms_01_0093.html", - "doc_type":"usermanual", - "p_code":"59", - "code":"65" - }, - { - "desc":"The decision to delete a CMK should be taken with caution. Before deletion, confirm that the CMK's encrypted data has all been migrated. Once the CMK is deleted, you will", + "desc":"The decision to delete a CMK should be considered with great caution. Before deletion, confirm that the CMK's encrypted data has all been migrated. As soon as the CMK is ", "product_code":"kms", "title":"Why Can't I Delete a CMK Immediately?", - "uri":"kms_01_0039.html", + "uri":"dew_01_0049.html", "doc_type":"usermanual", - "p_code":"59", - "code":"66" + "p_code":"52", + "code":"58" }, { - "desc":"There is a limit on the number of custom keys that can be created on KMS.You can create a maximum of 100 custom keys, including those in enabled, disabled, and pending de", + "desc":"Object Storage Service (OBS), Elastic Volume Service (EVS), and Image Management Service (IMS) can use KMS for encryption.Object Storage Service (OBS), Elastic Volume Ser", "product_code":"kms", - "title":"Is There a Limit on the Number of Custom Keys That I Can Create on KMS?", - "uri":"kms_01_0198.html", + "title":"Which Cloud Services Can Use KMS for Encryption?", + "uri":"dew_01_0050.html", "doc_type":"usermanual", - "p_code":"59", - "code":"67" + "p_code":"52", + "code":"59" + }, + { + "desc":"Services (such as OBS, IMS, EVS, SFS, DDS, and RDS) use the envelope encryption method provided by KMS to protect data.Envelope encryption is the practice of encrypting d", + "product_code":"kms", + "title":"How Do Cloud Services Use KMS to Encrypt Data?", + "uri":"dew_01_0053.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"60" }, { "desc":"Envelope encryption is the practice of encrypting data with a DEK and then encrypting the DEK with a root key that you can fully manage. In this case, CMKs are not requir", "product_code":"kms", "title":"What Are the Benefits of Envelope Encryption?", - "uri":"kms_01_0106.html", + "uri":"dew_01_0054.html", "doc_type":"usermanual", - "p_code":"59", - "code":"68" + "p_code":"52", + "code":"61" + }, + { + "desc":"There is a limit on the number of custom keys that can be created on KMS.You can create a maximum of 100 custom keys, including those in enabled, disabled, and pending de", + "product_code":"kms", + "title":"Is There a Limit on the Number of Custom Keys That I Can Create on KMS?", + "uri":"dew_01_0056.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"62" }, { "desc":"No.To ensure CMK security, users can only create and use CMKs in KMS.", "product_code":"kms", "title":"Can I Export a CMK from KMS?", - "uri":"kms_01_0102.html", + "uri":"dew_01_0058.html", "doc_type":"usermanual", - "p_code":"59", - "code":"69" + "p_code":"52", + "code":"63" }, { - "desc":"You can use the online tool to encrypt or decrypt data in the following procedures:The key you clicked is used for encryption.To clear your input, click Clear.To copy the", + "desc":"No.If you have permanently deleted your custom key, the data encrypted using it cannot be decrypted. Before the scheduled deletion date of the custom key, you can cancel ", + "product_code":"kms", + "title":"Can I Decrypt My Data if I Permanently Delete My Custom Key?", + "uri":"dew_01_0059.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"64" + }, + { + "desc":"You can use the online tool to encrypt or decrypt data in the following procedures:Use the current CMK to encrypt the data.To clear your input, click Clear.To copy the en", "product_code":"kms", "title":"How Do I Use the Online Tool to Encrypt or Decrypt Small Volumes of Data?", - "uri":"kms_01_0107.html", + "uri":"dew_01_0060.html", "doc_type":"usermanual", - "p_code":"59", - "code":"70" + "p_code":"52", + "code":"65" }, { "desc":"No.Keys created using KMS-generated materials cannot be updated. You can only use KMS to create new CMKs to encrypt and decrypt data.", "product_code":"kms", "title":"Can I Update CMKs Created by KMS-Generated Key Materials?", - "uri":"kms_01_0114.html", + "uri":"dew_01_0062.html", "doc_type":"usermanual", - "p_code":"59", + "p_code":"52", + "code":"66" + }, + { + "desc":"If you do not want to use KMS-generated key materials, you can import your own key materials to create a CMK. Such a CMK allows deletion of only the key materials when yo", + "product_code":"kms", + "title":"When Should I Use a CMK Created with Imported Key Materials?", + "uri":"dew_01_0102.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"67" + }, + { + "desc":"The following table lists the types of keys that can be imported.", + "product_code":"kms", + "title":"What Types of Keys Can I Import?", + "uri":"dew_01_0103.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"68" + }, + { + "desc":"You can import the backup key materials from your local device again.Before importing key materials, you are advised to back up the materials. The materials to be re-impo", + "product_code":"kms", + "title":"What Should I Do When I Accidentally Delete Key Materials?", + "uri":"dew_01_0104.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"69" + }, + { + "desc":"A message indicating lack of permissions is displayed when you attempt to perform operations on keys, such as view, create, or import keys.Your account is not associated ", + "product_code":"kms", + "title":"What Should I Do If I Do Not Have the Permissions to Perform Operations on KMS?", + "uri":"dew_01_0182.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"70" + }, + { + "desc":"By default, the -id-aes256-wrap-pad algorithm is not enabled in OpenSSL. To wrap a key, upgrade OpenSSL to the latest version and patch it first.Use bash commands to crea", + "product_code":"kms", + "title":"Why Can't I Wrap Asymmetric Keys by Using -id-aes256-wrap-pad in OpenSSL?", + "uri":"dew_01_0186.html", + "doc_type":"usermanual", + "p_code":"52", "code":"71" }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"kms", + "title":"Key Algorithms Supported by KMS", + "uri":"dew_01_0189.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"72" + }, + { + "desc":"The basic length of the ciphertext returned by the encrypt-data API is 124 bytes. The ciphertext consists of multiple fields, including the key ID, encryption algorithm, ", + "product_code":"kms", + "title":"What Is the Relationship Between the Ciphertext and Plaintext Returned by the encrypt-data API?", + "uri":"dew_01_0215.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"73" + }, { "desc":"The mechanism of KMS prevents anyone from accessing your keys in plaintext. KMS relies on hardware security modules (HSMs) that safeguard the confidentiality and integrit", "product_code":"kms", "title":"How Does KMS Protect My Keys?", - "uri":"kms_01_0193.html", + "uri":"dew_01_0227.html", "doc_type":"usermanual", - "p_code":"59", - "code":"72" + "p_code":"52", + "code":"74" + }, + { + "desc":"The EC private key is a large integer. However, in the key pair import scenario, the private key must be ASN.1-encoded and then the data must be encoded in binary mode to", + "product_code":"kms", + "title":"How Do I Convert an Original EC Private Key into a Private Key in PKCS8 Format?", + "uri":"dew_01_0472.html", + "doc_type":"usermanual", + "p_code":"52", + "code":"75" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"kms", "title":"Change History", - "uri":"kms_01_0043.html", + "uri":"en-us_topic_0000001682248672.html", "doc_type":"usermanual", "p_code":"", - "code":"73" - }, - { - "desc":"For details about the glossaries in this document, see Glossary.", - "product_code":"kms", - "title":"Glossary", - "uri":"kms_01_0044.html", - "doc_type":"usermanual", - "p_code":"", - "code":"74" + "code":"76" } ] \ No newline at end of file diff --git a/docs/kms/umn/dew_01_0001.html b/docs/kms/umn/dew_01_0001.html new file mode 100644 index 000000000..15183d9f3 --- /dev/null +++ b/docs/kms/umn/dew_01_0001.html @@ -0,0 +1,105 @@ + + +
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 HSMs meet 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.
+For details, see Key Management Service (KMS) API Reference.
+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 Key Management Service (KMS) API Reference.
+Symmetric keys created on the KMS console use AES algorithms. Asymmetric keys created by KMS support the RSA and ECC algorithms.
+ +Key Type + |
+Algorithm Type + |
+Key Specifications + |
+Description + |
+Application Scenario + |
+
|---|---|---|---|---|
Symmetric key + |
+AES + |
+AES_256 + |
+AES symmetric key + |
+
|
+
Digest key + |
+SHA + |
+
|
+Digest key + |
+
|
+
Asymmetric key + |
+RSA + |
+
|
+RSA asymmetric password + |
+
|
+
ECC + |
+
|
+Elliptic curve recommended by NIST + |
+Digital signature and signature verification + |
+
The following table lists the key wrapping encryption and decryption algorithms supported by 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. + |
+
You can use the online tool on the KMS console or call KMS APIs to directly encrypt or decrypt a small amount of data, such as passwords, certificates, or phone numbers. Currently, a maximum of 4 KB of data can be encrypted or decrypted in this way.
+Figure 1 shows an example about how to call the APIs to encrypt and decrypt an HTTPS certificate.
+ +If you want to encrypt or decrypt large volumes of data, such as pictures, videos, and database files, you can use the envelope encryption method, where the data does not need to be transferred over the network.
+If the CMK is deleted, the decryption fails. Therefore, properly keep your CMKs.
+There are two types of CMKs that can be used:
-There are two types of CMKs that can be used:
+
Before you use the encryption function, EVS must be granted the permission to access KMS. If you have the right to grant the permission, you can grant the permission directly. If you do not have the permission, contact a user with the security administrator permissions to add the security administrator permission for you. Then, you can grant the permission. For more information about EVS, see the Elastic Volume Service User Guide.
+
Before you use the encryption function, EVS must be granted the permission to access KMS. If you have the right to grant the permission, you can grant the permission directly. If you do not have the permission, contact a user with the security administrator permissions to add the security administrator permission for you. Then, you can grant the permission. For more information about EVS, see Elastic Volume Service User Guide.
There are two types of CMKs that can be used:
-There are two types of CMKs that can be used:
+There are two types of CMKs that can be used:
-There are two types of CMKs that can be used:
+Cloud services use the envelope encryption technology and call KMS APIs to encrypt service resources. Your CMKs are under your own management. With your grant, cloud services use a specific custom key of yours to encrypt data.
+
Ciphertext DEKs are generated when you use a CMK to encrypt the plaintext DEKs.
+
When users download the data from a cloud service, the service uses the custom key specified by KMS to decrypt the ciphertext DEK, uses the decrypted DEK to decrypt data, and then provides the decrypted data for users to download.
+Service + |
+How to Use + |
+Reference + |
+
|---|---|---|
Object Storage Service (OBS) + |
+You can upload objects to and download them from OBS in common mode or server-side encryption mode. When you upload objects in encryption mode, data is encrypted at the server side and then securely stored on OBS in ciphertext. When you download encrypted objects, the data in ciphertext is decrypted at the server side and then provided to you in plaintext. OBS supports the server-side encryption with KMS-managed keys (SSE-KMS). In this mode, OBS uses the keys provided by KMS for server-side encryption. + |
+Object Storage Service Console Operation Guide + |
+
Elastic Volume Service (EVS) + |
+If you enable the encryption function when creating an EVS disk, the disk will be encrypted with the DEK generated by using your CMK. Data stored in the EVS disk will be automatically encrypted. + |
+Elastic Volume Service User Guide + |
+
Image Management Service (IMS) + |
+When creating a private image using an external image file, you can enable the private image encryption function and select a CMK provided by KMS to encrypt the image. + |
+Image Management Service User Guide + |
+
Scalable File Service (SFS) + |
+When creating a file system on SFS, the CMK provided by KMS can be selected to encrypt the file system, so that files stored in the file system are automatically encrypted. + |
+Scalable File Service User Guide + |
+
Relational Database Service (RDS) + |
+When purchasing a database instance, you can enable the disk encryption function of the database instance and select a CMK created on KMS to encrypt the disk of the database instance. Enabling the disk encryption function will enhance data security. + |
+Relational Database Service User Guide + |
+
Document Database Service (DDS) + |
+When purchasing a DDS instance, you can enable the disk encryption function of the instance and select a CMK created on KMS to encrypt the disk of the instance. Enabling the disk encryption function will enhance data security. + |
+Document Database Service User Guide + |
+
To encrypt plaintext data, a user application can call the necessary KMS API to create a DEK. The DEK can then be used to encrypt the plaintext data. Then the application can store the encrypted data. In addition, the user application can call the KMS API to create CMKs. DEKs can be stored in ciphertext after being encrypted with the CMKs.
+Envelope encryption is implemented, with CMKs stored in KMS and ciphertext DEKs in user applications. KMS is called to decrypt a ciphertext DEK only when necessary.
+For details, see the Key Management Service API Usage Guidelines.
+KMS provides CMK management and encryption capabilities for cloud services. The following table lists the cloud services that can use KMS for encryption.
+ +Service + |
+How to Use + |
+Reference + |
+
|---|---|---|
Object Storage Service (OBS) + |
+You can upload objects to and download them from OBS in common mode or server-side encryption mode. When you upload objects in encryption mode, data is encrypted at the server side and then securely stored on OBS in ciphertext. When you download encrypted objects, the data in ciphertext is decrypted at the server side and then provided to you in plaintext. OBS supports the server-side encryption with KMS-managed keys (SSE-KMS). In this mode, OBS uses the keys provided by KMS for server-side encryption. + |
+Object Storage Service Console Operation Guide + |
+
Elastic Volume Service (EVS) + |
+If you enable the encryption function when creating an EVS disk, the disk will be encrypted with the DEK generated by using your CMK. Data stored in the EVS disk will be automatically encrypted. + |
+Elastic Volume Service User Guide + |
+
Image Management Service (IMS) + |
+When creating a private image using an external image file, you can enable the private image encryption function and select a CMK provided by KMS to encrypt the image. + |
+Image Management Service User Guide + |
+
Scalable File Service (SFS) + |
+When creating a file system on SFS, the CMK provided by KMS can be selected to encrypt the file system, so that files stored in the file system are automatically encrypted. + |
+Scalable File Service User Guide + |
+
Relational Database Service (RDS) + |
+When purchasing a database instance, you can enable the disk encryption function of the database instance and select a CMK created on KMS to encrypt the disk of the database instance. Enabling the disk encryption function will enhance data security. + |
+Relational Database Service User Guide + |
+
Document Database Service (DDS) + |
+When purchasing a DDS instance, you can enable the disk encryption function of the instance and select a CMK created on KMS to encrypt the disk of the instance. Enabling the disk encryption function will enhance data security. + |
+Document Database Service User Guide + |
+
CTS provides you with a history of KMS operations. After the CTS service is enabled, you can view all generated traces to review and audit performed KMS operations. For details, see the Cloud Trace Service User Guide.
+IAM provides permission management for KMS.
+Only users who have KMS Administrator permissions can use KMS.
+To apply for permissions, contact a user with Security Administrator permissions. For details, see Identity and Access Management User Guide.
+Simple Message Notification (SMN) provides the notification function. When a selected event is triggered for the target secret, CSMS sends a notification through SMN.
+If you want to assign different access permissions to employees in an enterprise for the DEW resources purchased on the cloud platform, you can use Identity and Access Management (IAM) to perform refined permission management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your resources.
+With IAM, you can use your account to create IAM users for your employees, and grant permissions to control their access to specific resource types. For example, some software developers in your enterprise need to use DEW resources but must not delete them or perform any high-risk operations. To achieve this result, you can create IAM users for the software developers and grant them only the permissions required for using DEW resources.
+If the system account has met your requirements and you do not need to create an independent IAM user for permission control, then you can skip this section. This will not affect other functions of DEW.
+By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from their groups and can perform specified operations on cloud services based on the permissions.
+DEW is a project-level service deployed and accessed in specific physical regions. To assign permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. Users need to switch to the authorized region when accessing KMS.
+You can grant users permissions by using roles and policies.
+For details, see Table 1.
+ +Role/Policy + |
+Description + |
+Type + |
+
|---|---|---|
KMS Administrator + |
+Administrator permissions for the encryption key + |
+Role + |
+
KMS CMKFullAccess + |
+All permissions for the encryption keys + |
+Policy + |
+
KMS CMK Admin + |
+All permissions for the encryption keys + |
+Policy + |
+
KMS CMKReadOnlyAccess + |
+Read-only permission for encryption keys + |
+Policy + |
+
Role/Policy + |
+Description + |
+Type + |
+Dependency + |
+
|---|---|---|---|
CSMS FullAccess + |
+All permissions of CSMS in DEW. Users with these permissions can perform all the operations allowed by policies. + |
+Policy + |
+None + |
+
CSMS ReadOnlyAccess + |
+Read-only permissions of CSMS in DEW. Users with these permissions can perform all the operations allowed by policies. + |
+Policy + |
+None + |
+
Table 3 lists the common operations supported by each system-defined permission of DEW. Select the permissions as needed.
+ +Operation + |
+KMS Administrator + |
+KMS CMKFullAccess + |
+
|---|---|---|
Create a key + |
+√ + |
+√ + |
+
Enable a key + |
+√ + |
+√ + |
+
Disable a key + |
+√ + |
+√ + |
+
Schedule key deletion + |
+√ + |
+√ + |
+
Cancel scheduled key deletion + |
+√ + |
+√ + |
+
Modify a key alias + |
+√ + |
+√ + |
+
Modify key description + |
+√ + |
+√ + |
+
Generate a random number + |
+√ + |
+√ + |
+
Create a DEK + |
+√ + |
+√ + |
+
Create a plaintext-free DEK + |
+√ + |
+√ + |
+
Encrypt a DEK + |
+√ + |
+√ + |
+
Decrypt a DEK + |
+√ + |
+√ + |
+
Obtain parameters for importing a key + |
+√ + |
+√ + |
+
Import key materials + |
+√ + |
+√ + |
+
Delete key materials + |
+√ + |
+√ + |
+
Create a grant + |
+√ + |
+√ + |
+
Revoke a grant + |
+√ + |
+√ + |
+
Retire a grant + |
+√ + |
+√ + |
+
Query the grant list + |
+√ + |
+√ + |
+
Query retirable grants + |
+√ + |
+√ + |
+
Encrypt data + |
+√ + |
+√ + |
+
Decrypt data + |
+√ + |
+√ + |
+
Enable key rotation + |
+√ + |
+√ + |
+
Modify key rotation interval + |
+√ + |
+√ + |
+
Disable key rotation + |
+√ + |
+√ + |
+
Query key rotation status + |
+√ + |
+√ + |
+
Query CMK instances + |
+√ + |
+√ + |
+
Query key tags + |
+√ + |
+√ + |
+
Query project tags + |
+√ + |
+√ + |
+
Batch add or delete key tags + |
+√ + |
+√ + |
+
Add tags to a key + |
+√ + |
+√ + |
+
Delete key tags + |
+√ + |
+√ + |
+
Query the key list + |
+√ + |
+√ + |
+
Query key details + |
+√ + |
+√ + |
+
Query instance quantity + |
+√ + |
+√ + |
+
Query quotas + |
+√ + |
+√ + |
+
The tables in this section describe the operations supported by CTS.
+ +Operation + |
+Resource Type + |
+Event Name + |
+
|---|---|---|
Creating a key + |
+CMK + |
+createKey + |
+
Creating a DEK + |
+CMK + |
+createDataKey + |
+
Creating a plaintext-free DEK + |
+CMK + |
+createDataKeyWithoutPlaintext + |
+
Enabling a key + |
+CMK + |
+enableKey + |
+
Disabling a key + |
+CMK + |
+disableKey + |
+
Encrypting a DEK + |
+CMK + |
+encryptDatakey + |
+
Decrypting a DEK + |
+CMK + |
+decryptDatakey + |
+
Scheduling the deletion of a key + |
+CMK + |
+scheduleKeyDeletion + |
+
Canceling the scheduled deletion of a key + |
+CMK + |
+cancelKeyDeletion + |
+
Generating a random number + |
+RNG + |
+genRandom + |
+
Modifying the key alias + |
+CMK + |
+updateKeyAlias + |
+
Modifying the key description + |
+CMK + |
+updateKeyDescription + |
+
Prompting risks about key deletion + |
+CMK + |
+deleteKeyRiskTips + |
+
Importing key materials + |
+CMK + |
+importKeyMaterial + |
+
Deleting key materials + |
+CMK + |
+deleteImportedKeyMaterial + |
+
Creating a grant + |
+CMK + |
+createGrant + |
+
Retiring a grant + |
+CMK + |
+retireGrant + |
+
Revoking a grant + |
+CMK + |
+revokeGrant + |
+
Encrypting data + |
+CMK + |
+encryptData + |
+
Decrypting data + |
+CMK + |
+decryptData + |
+
Adding a tag + |
+CMK + |
+dealUnifiedTags + |
+
Deleting a tag + |
+CMK + |
+dealUnifiedTags + |
+
Adding tags in batches + |
+CMK + |
+dealUnifiedTags + |
+
Deleting tags in batches + |
+CMK + |
+dealUnifiedTags + |
+
Enabling key rotation + |
+CMK + |
+enableKeyRotation + |
+
Modifying the key rotation interval + |
+CMK + |
+updateKeyRotationInterval + |
+
Disabling key rotation + |
+CMK + |
+disableKeyRotation + |
+
Creating a secret + |
+CSMS + |
+createSecret + |
+
Updating a secret + |
+CSMS + |
+updateSecret + |
+
Deleting a secret + |
+CSMS + |
+forceDeleteSecret + |
+
Creating a scheduled deletion for a secret + |
+CSMS + |
+scheduleDelSecret + |
+
Canceling the scheduled deletion of a secret + |
+CSMS + |
+restoreSecretFromDeletedStatus + |
+
Creating a secret status + |
+CSMS + |
+createSecretStage + |
+
Updating a secret status + |
+CSMS + |
+updateSecretStage + |
+
Deleting a secret status + |
+CSMS + |
+deleteSecretStage + |
+
Creating a secret version + |
+CSMS + |
+createSecretVersion + |
+
Downloading a secret backup + |
+CSMS + |
+backupSecret + |
+
Restoring a secret backup + |
+CSMS + |
+restoreSecretFromBackupBlob + |
+
Creating a secret event + |
+CSMS + |
+createSecretEvent + |
+
Updating a secret event + |
+CSMS + |
+updateSecretEvent + |
+
Deleting a secret event + |
+CSMS + |
+deleteSecretEvent + |
+
Creating a resource tag + |
+CSMS + |
+createResourceTag + |
+
Deleting a resource tag + |
+CSMS + |
+deleteResourceTag + |
+
This section describes how to use the online tool to encrypt or decrypt small-size data (4 KB or smaller) on the KMS console.
+The custom key is in Enabled status.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
in the upper left corner of the management console and select a region or project.
on the left and choose .
The decryption result returned via API will be in Base64 format. Perform Base64 decoding to obtain the plaintext entered on the console.
+Tags are used to identify keys. You can add tags to custom keys so that you can classify custom keys, trace them, and collect their usage status according to the tags.
+Tags cannot be added to default keys.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
If you want to delete a tag from the tag list when adding multiple tags, locate the target tag and click Delete on the right.
+Parameter + |
+Description + |
+Value + |
+Example Value + |
+
|---|---|---|---|
Tag key + |
+Name of a tag. +The same tag (including tag key and tag value) can be used for different custom keys. However, under the same custom key, one tag key can have only one tag value. +A maximum of 20 tags can be added for one custom key. + |
+
|
+cost + |
+
Tag value + |
+Value of the tag + |
+
|
+100 + |
+
This section describes how to modify tag values on the KMS console.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .This section describes how to delete tags on the KMS console.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .This section describes how to use the KMS console to enable one or more custom keys. Only enabled custom keys can be used to encrypt or decrypt data. A new custom key is in the Enabled state by default.
+The custom key you want to enable is in Disabled status.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
To enable multiple keys at a time, select them and click Enable in the upper left corner of the list.
+This section describes how to use the KMS console to disable one or more custom keys, thereby protecting data in urgent cases.
+After being disabled, a custom key cannot be used to encrypt or decrypt any data. Before using a disabled key to encrypt or decrypt data, you must enable it by following instructions in Enabling a Key.
+The key you want to disable is in Enabled status.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
To disable multiple keys at a time, select them and click Disable in the upper left corner of the list.
+Before deleting the key, confirm that it is not in use and will not be used.
+The key to be deleted is in Enabled, Disabled, or Pending import status.
+Before the specified deletion date, you can cancel the deletion if you want to use the CMK. Once the scheduled deletion has taken effect, the CMK will be deleted permanently and you will not be able to decrypt data encrypted by the CMK. Exercise caution when performing this operation.
+To schedule the deletion of multiple CMKs at a time, select them and click Delete in the upper left corner of the list. The following describes how to delete a single key.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
This section describes how to use the KMS console to cancel the scheduled deletion of one or more custom keys prior to deletion execution. After the cancellation, the key is in Disabled status.
+The CMK for which you want to cancel the scheduled deletion is in Pending deletion status.
+To cancel the deletion of multiple keys at a time, select them and click Cancel Deletion in the upper left corner of the list. The following describes how to cancel the scheduled deletion of a key.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user on KMS. It is used to encrypt and protect DEKs. One CMK can be used to encrypt one or more DEKs.
+When a user uses KMS for encryption in a cloud service for the first time, the cloud service automatically creates a key with the alias suffix /default.
+You can use the management console to query but cannot disable or schedule the deletion of Default Master Keys.
+ +Alias + |
+Cloud Service + |
+
|---|---|
obs/default + |
+Object Storage Service (OBS) + |
+
evs/default + |
+Elastic Volume Service (EVS) + |
+
ims/default + |
+Image Management Service (IMS) + |
+
sfs/default + |
+Scalable File Service (SFS) + |
+
rds/default + |
+Relational Database Service (RDS) + |
+
dds/default + |
+Document Database Service (DDS) + |
+
A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The alias of a default key ends with /default.
+You can use the management console to query but cannot disable or schedule the deletion of default keys.
+Default keys are hosted for free, and are charged based on the number of the API requests for them. If API requests exceed the free limit, the excess part will be charged.
+ +Alias + |
+Cloud Service + |
+
|---|---|
obs/default + |
+Object Storage Service (OBS) + |
+
evs/default + |
+Elastic Volume Service (EVS) + |
+
ims/default + |
+Image Management Service (IMS) + |
+
sfs/default + |
+Scalable File Service (SFS) + |
+
rds/default + |
+Relational Database Service (RDS) + |
+
dds/default + |
+Document Database Service (DDS) + |
+
A default key is automatically created when a user employs the KMS encryption function for the first time in another cloud service.
+A data encryption key (DEK) is used to encrypt data.
+Using KMS, you can create, encrypt, and decrypt DEKs. The KMS system does not save, manage, or track your DEKs, neither does it use the DEKs to encrypt or decrypt data.
+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 HSMs meet 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.
+The decision to delete a CMK should be considered with great caution. Before deletion, confirm that the CMK's encrypted data has all been migrated. As soon as the CMK is deleted, you will not be able to decrypt data with it. Therefore, KMS offers a user-specified period of 7 to 1096 days for the deletion to finally take effect. On the scheduled day of deletion, the CMK will be permanently deleted. However, prior to the scheduled day, you can still cancel the pending deletion. This is a means of precaution within KMS.
+Object Storage Service (OBS), Elastic Volume Service (EVS), and Image Management Service (IMS) can use KMS for encryption.
+Object Storage Service (OBS), Elastic Volume Service (EVS), Image Management Service (IMS), Scalable File Service (SFS), Document Database Service (DDS), and Relational Database Service (RDS) can use KMS for encryption.
+ +Service + |
+How to Use + |
+Reference + |
+
|---|---|---|
Object Storage Service (OBS) + |
+You can upload objects to and download them from OBS in common mode or server-side encryption mode. When you upload objects in encryption mode, data is encrypted at the server side and then securely stored on OBS in ciphertext. When you download encrypted objects, the data in ciphertext is decrypted at the server side and then provided to you in plaintext. OBS supports the server-side encryption with KMS-managed keys (SSE-KMS). In this mode, OBS uses the keys provided by KMS for server-side encryption. + |
+Object Storage Service Console Operation Guide + |
+
Elastic Volume Service (EVS) + |
+If you enable the encryption function when creating an EVS disk, the disk will be encrypted with the DEK generated by using your CMK. Data stored in the EVS disk will be automatically encrypted. + |
+Elastic Volume Service User Guide + |
+
Image Management Service (IMS) + |
+When creating a private image using an external image file, you can enable the private image encryption function and select a CMK provided by KMS to encrypt the image. + |
+Image Management Service User Guide + |
+
Scalable File Service (SFS) + |
+When creating a file system on SFS, the CMK provided by KMS can be selected to encrypt the file system, so that files stored in the file system are automatically encrypted. + |
+Scalable File Service User Guide + |
+
Relational Database Service (RDS) + |
+When purchasing a database instance, you can enable the disk encryption function of the database instance and select a CMK created on KMS to encrypt the disk of the database instance. Enabling the disk encryption function will enhance data security. + |
+Relational Database Service User Guide + |
+
Document Database Service (DDS) + |
+When purchasing a DDS instance, you can enable the disk encryption function of the instance and select a CMK created on KMS to encrypt the disk of the instance. Enabling the disk encryption function will enhance data security. + |
+Document Database Service User Guide + |
+
Services (such as OBS, IMS, EVS, SFS, DDS, and RDS) use the envelope encryption method provided by KMS to protect data.
+
Envelope encryption is the practice of encrypting data with a DEK and then encrypting the DEK with a root key that you can fully manage. In this case, CMKs are not required for encryption or decryption.
+If the CMK is deleted, the decryption fails. Therefore, properly keep your CMKs.
+Envelope encryption is the practice of encrypting data with a DEK and then encrypting the DEK with a root key that you can fully manage. In this case, CMKs are not required for encryption or decryption.
+Benefits:
+Users can use CMKs to encrypt and decrypt data on the KMS console or by calling KMS APIs.
+A CMK can encrypt and decrypt data no more than 4 KB. An envelope can encrypt and decrypt larger volumes of data.
+Data encrypted using envelopes does not need to be transferred. Only the DEKs need to be transferred to the KMS server.
+Data transferred to the cloud for encryption is exposed to risks such as interception and phishing.
+During envelope encryption, KMS uses Hardware Security Modules (HSMs) to protect keys. All CMKs are protected by root keys in HSMs to avoid key leakage.
+You will worry about data security on the cloud. It is also difficult for cloud services to prove that they never misuse or disclose such data.
+If you choose envelope encryption, KMS will control access to keys and record all usages of and operations on keys with traceable logs, meeting your audit and regulatory compliance requirements.
+To encrypt or decrypt data using a cloud service, you have to send the data to the encryption server and receive the processed data. This process seriously affects your service performance and incurs high costs.
+Envelope encryption allows you to generate DEKs online by calling KMS cryptographic algorithm APIs, and to encrypt a large amount of local data with the DEKs.
+The following table describes the differences between a custom key and a default key.
+ +Item + |
+Definition + |
+Difference + |
+
|---|---|---|
Custom key + |
+A Key Encryption Key (KEK) created using KMS. The key is used to encrypt and protect DEKs. +A custom key can be used to encrypt multiple DEKs. + |
+
|
+
Default key + |
+Automatically generated by the system when you use KMS to encrypt data in another cloud service for the first time. The suffix of the key is /default. +Example: evs/default + |
+
|
+
There is a limit on the number of custom keys that can be created on KMS.
+You can create a maximum of 100 custom keys, including those in enabled, disabled, and pending deletion states. Default keys are not included.
+No.
+To ensure CMK security, users can only create and use CMKs in KMS.
+No.
+If you have permanently deleted your custom key, the data encrypted using it cannot be decrypted. Before the scheduled deletion date of the custom key, you can cancel the scheduled deletion.
+If the custom key is created using imported key material and only the key material is deleted, you can import the local backup of the key material to the custom key and reclaim the user data. If the key material is not backed up locally, user data cannot be reclaimed.
+You can use the online tool to encrypt or decrypt data in the following procedures:
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
Enter the plaintext on the console, the text will be encoded to Base64 format before encryption.
+The decryption result returned via API will be in Base64 format. Perform Base64 decoding to obtain the plaintext entered on the console.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
The decryption result returned via API will be in Base64 format. Perform Base64 decoding to obtain the plaintext entered on the console.
+No.
+Keys created using KMS-generated materials cannot be updated. You can only use KMS to create new CMKs to encrypt and decrypt data.
+You need to ensure that random sources meet your security requirements when using them to generate key materials. When using the import key materials function, you need to be responsible for the security of your key materials. Save the original backup of the key material so that the backup key material can be imported to the KMS in time when the key material is deleted accidentally.
+Before importing the key material into KMS, you need to ensure the availability and durability of the key material.
+Differences between the imported key material and the key material generated by KMS are shown in Table 1.
+ +When a key material is imported to a custom key, the custom key is permanently associated with the key material. Other key materials cannot be imported into the custom key.
+If you use the custom key created using the imported key material to encrypt data, the encrypted data can be decrypted only by the custom key that has been used to encrypt the data, because the metadata and key material of the custom key must be consistent.
+If you want to use your own key materials instead of the KMS-generated materials, you can use the console to import your key materials to KMS. CMKs created using imported materials and KMS-generated materials are managed together by KMS.
+This section describes how to import key materials on the KMS console.
+Scenario + |
+Procedure + |
+
|---|---|
Using existing key materials + |
+
|
+
Downloading key materials by calling APIs + |
+
|
+
Downloading key materials on the KMS console + |
+
|
+
in the upper left corner of the management console and select a region or project.
on the left and choose .{
+ "key_id": "43f1ffd7-18fb-4568-9575-602e009b7ee8",
+ "wrapping_algorithm":"RSAES_OAEP_SHA_256"
+}
+{
+ "key_id": "43f1ffd7-18fb-4568-9575-602e009b7ee8",
+ "public_key":"public key base64 encoded data",
+ "import_token":"import token base64 encoded data",
+ "expiration_time":1501578672
+}
+openssl enc -d -base64 -A -in PublicKey.b64 -out PublicKey.bin
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
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 the HSMs support the RSAES_OAEP_SHA_256 algorithm, use RSAES_OAEP_SHA_256 to encrypt key materials. + |
+
The wrapping key expires in 24 hours. If the wrapping key is invalid, download it again.
+The console automatically passes the import token. Therefore, do not close or exit the Import Key Material dialog box after the key material is downloaded. Otherwise, the imported token will automatically become invalid.
+After downloading wrapping key, use it to encrypt the key material. Then, import the key material in the Import Key Material dialog box. For details, see Importing Key Materials.
+
If you need to run the openssl pkeyutl command, ensure your OpenSSL version is 1.0.2 or later.
+If the wrapping key was downloaded from the console, replace PublicKey.bin in the following command with the wrapping key name wrappingKey_keyID.
+ +Wrapping Key Algorithm + |
+Key Material Encryption + |
+
|---|---|
RSAES_OAEP_SHA_256 + |
+openssl pkeyutl -in PlaintextKeyMaterial.bin -inkey PublicKey.bin -out EncryptedKeyMaterial.bin -keyform der -pubin -encrypt -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 + |
+
If you need to run the openssl pkeyutl command, ensure your OpenSSL version is 1.0.2 or later.
+If the wrapping key was downloaded from the console, replace PublicKey.bin in the following command with the wrapping key name wrappingKey_keyID.
+ +Wrapping Key Algorithm + |
+Key Material Encryption + |
+
|---|---|
RSAES_OAEP_SHA_256 + |
+openssl pkeyutl -in PlaintextKeyMaterial.bin -inkey PublicKey.bin -out EncryptedKeyMaterial.bin -keyform der -pubin -encrypt -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 + |
+
openssl pkcs8 -topk8 -inform PEM -in pkcs1_rsa_private_key.pem -outform pem -nocrypt -out rsa_private_key.pem
+openssl pkcs8 -topk8 -inform PEM -outform DER -in rsa_private_key.pem -out rsa_private_key.der -nocrypt
+openssl enc -id-aes256-wrap-pad -K $(cat 0xPlaintextKeyMaterial.bin) -iv A65959A6 -in rsa_private_key.der -out out_rsa_private_key.der
+
By default, the -id-aes256-wrap-pad algorithm is not enabled in OpenSSL. To wrap a key, upgrade OpenSSL to the latest version and patch it first. For details, see FAQs.
+The import method varies depending on the key material download method.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
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 the HSMs support the RSAES_OAEP_SHA_256 algorithm, use RSAES_OAEP_SHA_256 to encrypt key materials. + |
+

Scenario + |
+Description + |
+
|---|---|
Symmetric key + |
+Use the key material encrypted by wrapping key. +For example, the EncryptedKeyMaterial.bin file in Step 3: Using Wrapping Key to Encrypt Key Materials. + |
+
Asymmetric key + |
+Use the temporary key material and private key ciphertext encrypted by wrapping key. +For example, the temporary key material EncryptedKeyMaterial.bin and private key ciphertext out_rsa_private_key.der in Step 3: Using Wrapping Key to Encrypt Key Materials. + |
+
+
Parameter + |
+Description + |
+
|---|---|
Key ID + |
+Random ID of a CMK generated during the CMK creation + |
+
Key import token + |
+Enter the import token obtained in Downloading the Wrapping Key By Calling APIs. + |
+
Key material expiration mode + |
+
|
+
Key materials can be successfully imported when they match the corresponding CMK ID and token.
+Your imported materials are displayed in the list of CMKs. The default status of an imported CMK is Enabled.
+
Scenario + |
+Description + |
+
|---|---|
Symmetric key + |
+Use the key material encrypted by wrapping key. +For example, the EncryptedKeyMaterial.bin file in Step 3: Using Wrapping Key to Encrypt Key Materials. + |
+
Asymmetric key + |
+Use the temporary key material and private key ciphertext encrypted by wrapping key. +For example, the temporary key material EncryptedKeyMaterial.bin and private key ciphertext out_rsa_private_key.der in Step 3: Using Wrapping Key to Encrypt Key Materials. + |
+
+
Parameter + |
+Description + |
+
|---|---|
Key ID + |
+Random ID of a CMK generated during the CMK creation + |
+
Key material expiration mode + |
+
|
+
Key material can be successfully imported when it matches the corresponding key ID.
+Your imported materials are displayed in the list of CMKs. The default status of an imported CMK is Enabled.
+When importing key materials, you can specify their expiration time. After the key material expires, KMS deletes it, and the status of the custom key changes to Pending import. You can manually delete the key materials as needed. The effect of expiration of the key material is the same as that of manual deletion of the key material.
+This section describes how to delete imported key materials on the KMS console.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .After the deletion, the key will become unavailable and its status changes to Pending import.
+Keys that are widely or repeatedly used are insecure. To enhance the security of encryption keys, you are advised to periodically rotate keys and change their key materials.
+The purposes of key rotation are:
+A key will be insecure if it is used to encrypt a huge number of data. The amount of data encrypted a key refers to the total number of bytes or messages encrypted using the key.
+In your initial system security design, you shall design the key rotation function and use it for routine O&M, so that it will be at hand when an emergency occurs.
+The ciphertext data generated before and after key rotation will be isolated. You can identify the impact scope of a security event based on the key involved and take actions accordingly.
+You can use either of the following key rotation methods:
+Method 1: Create a key B to replace the currently used key A.
+Method 2: Modify the key A and use it.
+Example:
+Take OBS as an example. To manually rotate a key, create a custom key on the KMS console. Replace the old custom key with the new one on the OBS console.
+
KMS automatically rotates keys based on the configured rotation period (365 days by default). The system automatically generates a new key to replace the key in use. Automatic key rotation only changes the key material of a CMK. The logical attributes of the key will not change, including its key ID, alias, description, and permissions.
+Automatic key rotation has the following characteristics:
+
Key Type + |
+Rotation Mode + |
+
|---|---|
Default key + |
+Cannot be rotated. + |
+
Custom key + |
+Keys can be rotated automatically or manually, depending on the key algorithm type. +
|
+
Disabled CMK + |
+Disabled CMKs are not rotated. KMS keeps their rotation status unchanged. After a custom key is enabled, if it has been used for longer than the rotation period, KMS will immediately rotate keys. If the custom key has been used for shorter than the rotation period, KMS will implement the original rotation plan. +For more information, see Disabling One or More CMKs. + |
+
CMKs in pending deletion state + |
+KMS does not rotate CMKs in pending deletion status. After you cancel the deletion of a CMK, the previous key rotation status will be restored. If the custom key has been used for longer than the rotation period, KMS will immediately rotate keys. If the CMK has been used for shorter than the rotation period, KMS will implement the original rotation plan. +For more information, see Scheduling the Deletion of One or More Keys. + |
+
You can check the rotation details on the Rotation Policy page, including the last rotation time and number of rotations.
+You can create grants for other users or accounts to use the custom key. You can create a maximum of 100 grants on a custom key.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
A grantee can perform the authorized operations only by calling the necessary APIs. For details, see the Key Management Service API Reference.
+In the list of grants, you can view the grant name, grant type, grantee ID, granted operation, and creation time of the grant.
+You can view the details about a custom key grant on the KMS console, such as the grant ID, grantee user ID, granted operation, and creation time.
+You have created a grant.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .+
Parameter + |
+Description + |
+
|---|---|
Grant Name + |
+Name of the grant when created + |
+
Grantee ID + |
+ID of the authorized user or account. + |
+
Granted To + |
+Whether permissions are granted to a user or account. + |
+
Granted Operations + |
+Authorized operations (such as Create Data Key) on the custom key + |
+
Created + |
+Time when the grant is created + |
+
You can revoke a grant on the KMS console in either of the following scenarios:
+When a grant is revoked, the grantee does not have the corresponding permission anymore. However, if the grantee has created the same grant to another user, permission of that user will not be affected.
+This section describes how to revoke a grant on the KMS console.
+You have created a grant.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
You can call the API to verify that the key grant has been revoked. For example, if the grant to create a data key is revoked for a user, an error will be reported when the user calls the API to create a data key.
+
You can use a custom key created on the KMS console for encryption.
-
You can use a custom key created on the KMS console for encryption.
+The following table lists the types of keys that can be imported.
+ +Key Type + |
+Algorithm Type + |
+Key Specifications + |
+Description + |
+Application Scenario + |
+
|---|---|---|---|---|
Symmetric key + |
+AES + |
+AES_256 + |
+AES symmetric key + |
+
|
+
Digest key + |
+SHA + |
+
|
+Digest key + |
+
|
+
Asymmetric key + |
+RSA + |
+
|
+RSA asymmetric password + |
+
|
+
ECC + |
+
|
+Elliptic curve recommended by NIST + |
+Digital signature and signature verification + |
+
You can import the backup key materials from your local device again.
+
Before importing key materials, you are advised to back up the materials. The materials to be re-imported must be consistent with the mis-deleted materials.
+Keys are generated by third-party validated HSMs. Access to keys is controlled and key operations involving keys are traceable by logs, compliant with international laws and regulations.
+You can use and manage keys easily using the console or APIs, needless to purchase hardware encryption devices.
+You can use a custom key created on the KMS console for encryption.
-You can use a custom key created on the KMS console for encryption.
+This section describes IAM's fine-grained permissions management for your DEW resources. With IAM, you can:
+If your account does not need individual IAM users, skip this chapter.
+This section describes the procedure for granting permissions (see Figure 1).
+Before granting permissions to a user group, you need to understand the available DEW permissions, and grant permissions based on the real-life scenario. The following tables describe the permissions supported in DEW.
+ +Role/Policy + |
+Description + |
+Type + |
+
|---|---|---|
KMS Administrator + |
+Administrator permissions for the encryption key + |
+Role + |
+
KMS CMKFullAccess + |
+All permissions for the encryption keys + |
+Policy + |
+
KMS CMK Admin + |
+All permissions for the encryption keys + |
+Policy + |
+
KMS CMKReadOnlyAccess + |
+Read-only permission for encryption keys + |
+Policy + |
+
Create a user group on the IAM console and grant the user group the KMS CMKFullAccess permission (indicating full permissions for keys).
+Create a user on the IAM console and add the user to the user group created in 1.
+Log in to the console as newly created user, and verify that the user only has the assigned permissions.
+If you have configured Tenant Guest permissions for the IAM account, apart from the read-only permissions for all cloud services except Identity and Access Management (IAM), you also have the following KMS permissions:
+If you want to configure the Tenant Guest role for an IAM user but do not want to have the preceding permissions, you need to configure a custom deny policy for the IAM user. For details about how to configure a custom policy, see Creating a Custom KMS Policy.
+This section describes how to enable rotation for a key on the KMS console.
+By default, automatic key rotation is disabled for a custom key. Every time you enable key rotation, KMS automatically rotates custom keys based on the rotation period you set.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
to enable key rotation.
to change the rotation period. After the period is changed, KMS rotates the key by the new period.
You can click
to change the rotation period. After the period is changed, KMS rotates the key by the new period.
Custom policies can be created as a supplement to the system policies of DEW. For details about the actions supported by custom policies, see "Permissions Policies and Supported Actions" in Key Management Service API Reference.
+You can create custom policies in either of the following ways:
+{
+ "Version": "1.1",
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": [
+ "kms:cmk:create",
+ "kms:cmk:getMaterial",
+ "kms:cmkTag:create",
+ "kms:cmkTag:batch",
+ "kms:cmk:importMaterial"
+ ]
+ }
+ ]
+}
+{
+ "Version": "1.1",
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": [
+ "kms:dek:crypto",
+ "kms:cmk:get",
+ "kms:cmk:crypto",
+ "kms:cmk:generate",
+ "kms:cmk:list"
+ ]
+ }
+ ]
+}
+A custom policy can contain actions of multiple services that are all of the global or project-level type. The following is a policy with multiple statements:
+{
+ "Version": "1.1",
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": [
+ "rds:task:list"
+ ]
+ },
+ {
+ "Effect": "Allow",
+ "Action": [
+ "kms:dek:crypto",
+ "kms:cmk:get",
+ "kms:cmk:crypto",
+ "kms:cmk:generate",
+ "kms:cmk:list"
+ ]
+ }
+ ]
+}
+This section describes how to create a custom key on the KMS console.
+Custom keys can be categorized into symmetric keys and asymmetric keys.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
Parameter + |
+Description + |
+
|---|---|
Name + |
+Name of the key you are creating. + NOTE:
+
|
+
Key Algorithm + |
+Select a key algorithm. + |
+
Usage + |
+Key usage. The value cannot be changed after the key is created. The value can be SIGN_VERIFY, ENCRYPT_DECRYPT, or GENERATE_VERIFY_MAC. +
|
+
Key Material Source + |
+
|
+
Advanced settings + |
++ | +
This section describes how to view the information about the custom key on the KMS console, including thekey name/ID and the creation time. The status of a key can be Enabled, Disabled, Scheduled deletion, or Pending import.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .+
Parameter + |
+Description + |
+
|---|---|
Name/ID + |
+Name of a key and the random ID of a key generated during its creation. + |
+
Status + |
+Status of a CMK, which can be one of the following: +
|
+
Created + |
+Creation time of the CMK + |
+
Key Algorithm and Usage + |
+Key algorithm selected during key creation and its usage + |
+
Origin + |
+Source of key material, which can be one of the following: +
|
+
To change the alias or description of the CMK, click
next to the value of Name or Description.
A message indicating lack of permissions is displayed when you attempt to perform operations on keys, such as view, create, or import keys.
+Your account is not associated with the required KMS system policies.
+For details about how to check your user groups and permissions, see the "User Groups and Authorization" section.
+If your account has been associated with required KMS system policies, go to Step 2.
+By default, the -id-aes256-wrap-pad algorithm is not enabled in OpenSSL. To wrap a key, upgrade OpenSSL to the latest version and patch it first.
+Use bash commands to create a local copy of the existing OpenSSL. You do not need to delete or modify the default OpenSSL client installation configurations.
+sudo su -
+openssl version
+mkdir $HOME/build
+mkdir -p $HOME/local/ssl
+cd $HOME/build
+curl -O https://www.openssl.org/source/openssl-1.1.1d.tar.gz
+tar -zxf openssl-1.1.1d.tar.gz
+
If you are using a version other than OpenSSL-1.1.1d, you may need to change the directory and commands used, or this patch may not work properly.
+sed -i "/BIO_get_cipher_ctx(benc, &ctx);/a\ EVP_CIPHER_CTX_set_flags(ctx, EVP_CIPHER_CTX_FLAG_WRAP_ALLOW);" $HOME/build/openssl-1.1.1d/apps/enc.c+
cd $HOME/build/openssl-1.1.1d/
+./config --prefix=$HOME/local --openssldir=$HOME/local/ssl
+make -j$(grep -c ^processor /proc/cpuinfo)
+make install
+cd $HOME/local/bin/
+echo -e '#!/bin/bash \nenv LD_LIBRARY_PATH=$HOME/local/lib/ $HOME/local/bin/openssl "$@"' > ./openssl.sh
+chmod 755 ./openssl.sh
+$HOME/local/bin/openssl.sh
+Key Type + |
+Algorithm Type + |
+Key Specifications + |
+Description + |
+Application Scenario + |
+
|---|---|---|---|---|
Symmetric key + |
+AES + |
+AES_256 + |
+AES symmetric key + |
+
|
+
Digest key + |
+SHA + |
+
|
+Digest key + |
+
|
+
Asymmetric key + |
+RSA + |
+
|
+RSA asymmetric password + |
+
|
+
ECC + |
+
|
+Elliptic curve recommended by NIST + |
+Digital signature and signature verification + |
+

You can use a custom key created on the KMS console for encryption.
+
You can use a custom key created on the KMS console for encryption.
The basic length of the ciphertext returned by the encrypt-data API is 124 bytes. The ciphertext consists of multiple fields, including the key ID, encryption algorithm, key version, and ciphertext digest.
+The plaintext has 16 bytes in each block. A block with fewer than 16 bytes will be padded. Ciphertext length = 124 + Ceil(plaintext length/16) x 16. The conversion result is encoded using Base64.
+Take 4-byte plaintext input as an example. The calculation result is 124 + Ceil(4/16) x 16 = 140. The 140 bytes are converted into 188 bytes after Base64 encoding.
+
Ceil is a round-up function. Ceil(a) = 1. The value range of a is (0,1].
+To ensure that your personal data, such as the username, password, and mobile phone number, will not be leaked or obtained by unauthorized or unauthenticated entities or people, DEW controls access to the data and records logs for operations performed on the data.
+Table 1 lists the personal data generated or collected by DEW.
+ + +Tenant IDs are not sensitive data and are stored in plaintext.
+Users can view only logs related to their own services.
+DEW records logs for all operations, such as editing, querying, and deleting, performed on personal data. The logs are uploaded to Cloud Trace Service (CTS). You can view only the logs generated for operations you performed.
+The mechanism of KMS prevents anyone from accessing your keys in plaintext. KMS relies on hardware security modules (HSMs) that safeguard the confidentiality and integrity of your keys. Plaintext KMS keys are always encrypted by HSMs and are never stored on any disk. These keys are only utilized within the volatile memory of the HSMs for as long as necessary to perform the cryptographic operation you have requested.
+This section describes the basic concepts in DEW, helping you understand and use DEW better.
+ +Term + |
+Definition + |
+
|---|---|
Symmetric key encryption + |
+Symmetric key encryption is also called dedicated key encryption. The sender and receiver use the same key to encrypt and decrypt data. +Advantage: Encryption and decryption are fast. +Disadvantage: Each pair of keys must be unique, making key management difficult when there are a large number of users. +Scenario: Encrypt a large amount of data. +Encryption process: Assume there is a plaintext message "Hello", the sender uses a symmetric key (for example, key123) and a symmetric encryption algorithm (for example, AES) to encrypt "Hello" into ciphertext, for example, "# %&*". After receiving the ciphertext, the receiver uses the same key123 and AES algorithm to decrypt "#%&*" back to "Hello". + |
+
Asymmetric key encryption + |
+Asymmetric key encryption is also called public key encryption. A pair of keys are used for encryption and decryption. One is a public key, and the other is a private key. +Advantage: Different keys are used for encryption and decryption, ensuring high security. +Disadvantage: Encryption and decryption are slow. +Scenario: Encrypt sensitive information. +Encryption process: Assume that the sender needs to send a message "secret plan" to the receiver. The sender obtains the public key of the receiver (for example, public_key_A) and uses the public key to encrypt "secret plan" into ciphertext "@#$ %^&". After receiving the ciphertext, the receiver uses the private key (for example, private_key_A) to decrypt the ciphertext into the plaintext "secret plan". In this way, even if the public key is obtained by others, the ciphertext cannot be decrypted because they do not have the corresponding private key. + |
+
Item + |
+Definition + |
+
|---|---|
HSM + |
+An HSM is a type of computer hardware that protects and manages the keys used by strong authentication systems and provides related cryptographic operations. + |
+
CMK + |
+A CMK is a main encryption key created by a user or cloud service using KMS. It is used to encrypt and protect data encryption keys (DEKs). One CMK can be used to encrypt one or more DEKs. +CMKs are categorized into custom keys and default keys. + |
+
Default key + |
+A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The alias of a default key ends with /default. + |
+
Key material + |
+Key materials are important inputs to cryptographic operations. They are used to encrypt and decrypt key data. A CMK consists of key materials, key IDs, and basic metadata. + |
+
Envelope encryption + |
+Envelope encryption is the practice of encrypting data with a DEK and then encrypting the DEK with a root key that you can fully manage. In this case, CMKs are not required for encryption or decryption. + + |
+
DEK + |
+A DEK is used to encrypt data. + |
+
Cloud Trace Service (CTS) records operations performed on cloud service resources. A record contains information such as the user who performed the operation, IP address, operation content, and returned response message. These records facilitate security auditing, issue tracking, and resource locating. They also help you plan and use resources, and identify high-risk or non-compliant operations.
+A trace is an operation log for a cloud service resource, tracked and stored by CTS. Traces record operations such as adding, modifying, or deleting cloud service resources. You can view them to identify who performed operations and when for detailed tracking.
+
in the upper left corner and choose Management & Deployment > Cloud Trace Service from the navigation pane.Parameter + |
+Description + |
+
|---|---|
Trace Type + |
+Select Management or Data. +
|
+
Trace Source + |
+Select the name of the cloud service that triggers a trace from the drop-down list. + |
+
Resource Type + |
+Select the type of the resource involved in a trace from the drop-down list. +For details about the resource types of each cloud service, see section "Supported Services and Operations" in the Cloud Trace Service User Guide. + |
+
Search By + |
+Select one of the following options: +
|
+
Operator + |
+User who triggers a trace. +Select one or more operators from the drop-down list. +If trace_type in a trace is set to SystemAction, the operation is triggered by the service and the trace's operator may be empty. + |
+
Trace Status + |
+Select one of the following options: +
|
+
to view the latest information about traces.
on the left of a trace to expand its details.
+

The EC private key is a large integer. However, in the key pair import scenario, the private key must be ASN.1-encoded and then the data must be encoded in binary mode to obtain the DER format, which cannot be obtained by running the OpenSSL command.
+This section describes how to convert a 256-bit EC private key into a private key in PKCS8 format.
+The following uses a secp256k1 private key as an example. The original private key in hexadecimal format is as follows:
+```DC23DA6E913444ABADCE2F42A3B7DC3958569948633EE80AEC46ACCA02523495```
+
The private key is used as an example only. Do not use it in the actual environment.
+Use the following code to convert the private key into a PKCS8 object:
+```java
+import org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey;
+import org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey;
+import org.bouncycastle.jce.ECNamedCurveTable;
+import org.bouncycastle.jce.interfaces.ECPrivateKey;
+import org.bouncycastle.jce.provider.BouncyCastleProvider;
+import org.bouncycastle.jce.spec.ECNamedCurveParameterSpec;
+import org.bouncycastle.jce.spec.ECPrivateKeySpec;
+import org.bouncycastle.jce.spec.ECPublicKeySpec;
+import org.bouncycastle.math.ec.ECPoint;
+
+import java.math.BigInteger;
+import java.security.KeyFactory;
+import java.security.NoSuchAlgorithmException;
+import java.security.PublicKey;
+import java.security.Security;
+import java.security.spec.InvalidKeySpecException;
+import java.security.spec.InvalidParameterSpecException;
+import java.util.Base64;
+
+public class RawEcPrivateKeyToPKCS8Object {
+ public static void main(String[] args)
+ throws InvalidParameterSpecException, NoSuchAlgorithmException, InvalidKeySpecException {
+
+ Security.addProvider(new BouncyCastleProvider());
+
+ KeyFactory keyFactory = KeyFactory.getInstance("ECDSA", new BouncyCastleProvider());
+
+ ECNamedCurveParameterSpec ecSpec = ECNamedCurveTable.getParameterSpec("secp256k1");
+ BigInteger d = new BigInteger("DC23DA6E913444ABADCE2F42A3B7DC3958569948633EE80AEC46ACCA02523495", 16);
+ ECPrivateKeySpec ecPrivateKeySpec = new ECPrivateKeySpec(d, ecSpec);
+ BCECPrivateKey ec = new BCECPrivateKey("EC", ecPrivateKeySpec, BouncyCastleProvider.CONFIGURATION);
+
+ ECPoint q = ecSpec.getG().multiply(((ECPrivateKey) ec).getD());
+ ECPublicKeySpec pubSpec = new ECPublicKeySpec(q, ecSpec);
+ PublicKey publicKey = keyFactory.generatePublic(pubSpec);
+
+ BCECPrivateKey ec2 = new BCECPrivateKey("EC", ec.engineGetKeyParameters(), (BCECPublicKey) publicKey,
+ ecPrivateKeySpec.getParams(), BouncyCastleProvider.CONFIGURATION);
+
+ System.out.println(Base64.getEncoder().encodeToString(ec2.getEncoded()));
+ }
+}
+```
+The output is as follows:
+```ignorelang +MIGNAgEAMBAGByqGSM49AgEGBSuBBAAKBHYwdAIBAQQg3CPabpE0RKutzi9Co7fcOVhWmUhjPugK7EasygJSNJWgBwYFK4EEAAqhRANCAAQWiYvQT8cyVJx3wN85fXw0c2Ppv3SEsgnDaB96rWlz6G2bf2WhBJVD/jF5zb+5/oxgVIOYDe8EwqYtBwhIJ3Yh +```+
Use the ASN.1 decoding tool:
+``` + <SEQUENCE> + <INTEGER/> + <SEQUENCE> + <OBJECT_IDENTIFIER Comment="ANSI X9.62 public key type" Description="ecPublicKey">1.2.840.10045.2.1</OBJECT_IDENTIFIER> + <OBJECT_IDENTIFIER Comment="SECG (Certicom) named elliptic curve" Description="secp256k1">1.3.132.0.10</OBJECT_IDENTIFIER> + </SEQUENCE> + <OCTET_STRING> + <SEQUENCE> + <INTEGER>1</INTEGER> + <OCTET_STRING>0xDC23DA6E913444ABADCE2F42A3B7DC3958569948633EE80AEC46ACCA02523495</OCTET_STRING> + <NODE Sign="a0"> + <OBJECT_IDENTIFIER Comment="SECG (Certicom) named elliptic curve" Description="secp256k1">1.3.132.0.10</OBJECT_IDENTIFIER> + </NODE> + <NODE Sign="a1"> + <BIT_STRING Bits="520">0x000416898BD04FC732549C77C0DF397D7C347363E9BF7484B209C3681F7AAD6973E86D9B7F65A1049543FE3179CDBFB9FE8C605483980DEF04C2A62D070848277621</BIT_STRING> + </NODE> + </SEQUENCE> + </OCTET_STRING> + </SEQUENCE> +```+
Add the following content to the ec_private_key.pem file:
+```ignorelang +-----BEGIN PRIVATE KEY----- +MIGNAgEAMBAGByqGSM49AgEGBSuBBAAKBHYwdAIBAQQg3CPabpE0RKutzi9Co7fcOVhWmUhjPugK7EasygJSNJWgBwYFK4EEAAqhRANCAAQWiYvQT8cyVJx3wN85fXw0c2Ppv3SEsgnDaB96rWlz6G2bf2WhBJVD/jF5zb+5/oxgVIOYDe8EwqYtBwhIJ3Yh +-----END PRIVATE KEY----- +```+
Run the following commands to view the EC key information:
+```shell +openssl ec -in ec_private_key.pem -text +``` +```ignorelang +read EC key +Private-Key: (256 bit) +priv: + dc:23:da:6e:91:34:44:ab:ad:ce:2f:42:a3:b7:dc: + 39:58:56:99:48:63:3e:e8:0a:ec:46:ac:ca:02:52: + 34:95 +pub: + 04:16:89:8b:d0:4f:c7:32:54:9c:77:c0:df:39:7d: + 7c:34:73:63:e9:bf:74:84:b2:09:c3:68:1f:7a:ad: + 69:73:e8:6d:9b:7f:65:a1:04:95:43:fe:31:79:cd: + bf:b9:fe:8c:60:54:83:98:0d:ef:04:c2:a6:2d:07: + 08:48:27:76:21 +ASN1 OID: secp256k1 +writing EC key +-----BEGIN EC PRIVATE KEY----- +MHQCAQEEINwj2m6RNESrrc4vQqO33DlYVplIYz7oCuxGrMoCUjSVoAcGBSuBBAAK +oUQDQgAEFomL0E/HMlScd8DfOX18NHNj6b90hLIJw2gfeq1pc+htm39loQSVQ/4x +ec2/uf6MYFSDmA3vBMKmLQcISCd2IQ== +-----END EC PRIVATE KEY----- + +```+
If the commands can be executed properly, the following DER command is generated:
+```shell +openssl pkcs8 -topk8 -inform PEM -outform DER -in ec_private_key.pem -out ec_private_key.der -nocrypt```+
This section describes how to disable rotation for a key on the KMS console.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
to disable key rotation.A master key, the highest level of keys in a cryptographic system, generates and manages other keys, including session keys and data encryption keys, or directly encrypts important data. It is vital to protect its security and confidentiality. Once a master key is leaked, the entire cryptographic system may be severely threatened.
+A master key features the following:
+Master keys include custom keys and default keys. You can create, view, enable, disable, schedule the deletion of, and cancel the deletion of custom keys.
+Key Type + |
+Algorithm Type + |
+Key Specifications + |
+Description + |
+Application Scenario + |
+
|---|---|---|---|---|
Symmetric key + |
+AES + |
+AES_256 + |
+AES symmetric key + |
+
|
+
Digest key + |
+SHA + |
+
|
+Digest key + |
+
|
+
Asymmetric key + |
+RSA + |
+
|
+RSA asymmetric password + |
+
|
+
ECC + |
+
|
+Elliptic curve recommended by NIST + |
+Digital signature and signature verification + |
+
Released On + |
+Description + |
+
|---|---|
2025-11-10 + |
+This is the twenty-sixth official release. +Modified section "What Is a Default Key?" and added rds/default and dds/default keys. + |
+
2025-03-26 + |
+This is the twenty-fifth official release. +
|
+
2025-03-21 + |
+This is the twenty-fourth official release. +Updated section "Importing a Key Material". + |
+
2025-02-18 + |
+This is the twenty-third official release. +
|
+
2024-05-14 + |
+This is the twenty-second official release. +Modified the names of tag-related events in section "Related Services". +Added "Does an Imported Key Support Rotation?" in section "FAQs". + |
+
2024-03-25 + |
+This is the twenty-first official release. +Added screenshots of the console in section "Configuring SMN". +Added the sfs/default key in section "What Is a Default Key?". +Added description about grant ID in section "Querying a Grant". +Added description about the verification operations after a grant is revoked in section "Revoking a Grant". + |
+
2023-10-20 + |
+This is the twentieth official release. +Updated the images of the service console. + |
+
2023-06-15 + |
+This is the nineteenth official release. +Added section "How Does KMS Protect My Keys?" + |
+
2022-09-30 + |
+This issue is the eighteenth official release. +Optimized the content in section "Creating a Custom KMS Policy". + |
+
2021-11-30 + |
+This issue is the seventeenth official release. +
|
+
2021-10-20 + |
+This issue is the sixteenth official release. +
|
+
2021-09-22 + |
+This is the fifteenth official release. +
|
+
2020-08-18 + |
+This is the fourteenth official release. +
|
+
2020-06-29 + |
+This is the thirteenth official release. +
|
+
2019-12-10 + |
+This is the twelfth official release. +
|
+
2018-09-05 + |
+This is the eleventh official release. +Updated screenshots. + |
+
2018-07-30 + |
+This is the tenth official release. +
|
+
2018-06-15 + |
+This is the ninth official release. +
|
+
2018-03-30 + |
+This is the eighth official release. +
|
+
2017-11-30 + |
+This is the seventh official release. +Updated a screenshot in section "Scheduling the Deletion of One or Multiple CMKs". + |
+
2017-10-30 + |
+This is the sixth official release. +
|
+
2017-08-30 + |
+This is the fifth official release. +
|
+
2017-06-30 + |
+This is the fourth official release. +
|
+
2017-03-31 + |
+This is the third official release. +
|
+
2017-01-20 + |
+This is the second official release. +
|
+
2016-12-30 + |
+This is the first official release. + |
+
An alias is an identifier of a key. You can use the alias as the key ID during API calling. The original key alias is not used as the key name.
+This section describes how to add and delete an alias for a key.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .
Only digits, letters, underscores (_), hyphens (-), colons (:), and slashes (/) are allowed.
+
in the upper left corner of the management console and select a region or project.
on the left and choose .An alias is an identifier of a key. You can use the alias as the key ID during API calling. The original key alias is not used as the key name.
-This section describes how to add and delete an alias for a key.
-
in the upper left corner and select a region or project.
Only digits, letters, underscores (_), hyphens (-), colons (:), and slashes (/) are allowed.
-
in the upper left corner and select a region or project.Key Management Service (KMS) is a secure, reliable, and easy-to-use service that helps users centrally manage and safeguard their Customer Master Keys (CMKs).
-This service uses hardware security modules (HSMs) to protect CMKs. HSMs help you create and control CMKs with ease. All CMKs are protected by root keys in HSMs to avoid leakage caused by human error.
-KMS implements access control and log-based tracking on all operations involving CMKs. Additionally, it provides use records of all CMKs, meeting your audit and regulatory compliance requirements.
-A Customer Master Key (CMK) is a Key Encryption Key (KEK) created by a user using KMS. It is used to encrypt and protect Data Encryption Keys (DEKs). One CMK can be used to encrypt one or multiple DEKs.
-CMKs are categorized into custom keys and default keys.
-A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The name of a default key ends with /default.
-You can use the management console to query the status of Default Master Keys, but cannot disable or schedule the deletion of default keys.
- -Key Name - |
-Cloud Service - |
-
|---|---|
obs/default - |
-Object Storage Service (OBS) - |
-
evs/default - |
-Elastic Volume Service (EVS) - |
-
ims/default - |
-Image Management Service (IMS) - |
-
sfs/default - |
-Scalable File Service (SFS) - |
-
rds/default - |
-Relational Database Service (RDS) - |
-
kps/default - |
-Key Pair Service (KPS) - |
-
A Default Master Key is automatically created when a user employs the KMS encryption function for the first time in another cloud service.
-Data Encryption Keys (DEKs) are used by users to encrypt data.
-A Hardware Security Module (HSM) securely produces, stores, manages, and uses keys and provides encryption services.
-Envelope encryption is an encryption method that enables DEKs to be stored, transmitted, and used in "envelopes." As a result, CMKs are not used to directly encrypt and decrypt data.
-A true random number generator (TRNG) is a device that generates unpredictable random numbers by physical procedures instead of computer programs.
-A project is used to group and isolate OpenStack resources, including computing, storage, and network resources. A project can be a department or a project team.
-Multiple projects can be created for one account.
-The cloud service provides a web-based service management platform. You can access KMS using HTTPS-compliant APIs or the management console.
- -Users can upload objects to and download them from Object Storage Service (OBS) in common mode or server-side encryption mode. When users upload objects in encryption mode, data is encrypted at the server side and then securely stored on OBS in ciphertext. When users download encrypted objects, the data in ciphertext is decrypted at the server side and then provided to users in plaintext. OBS supports the server-side encryption with KMS-managed keys (SSE-KMS) mode. In SSE-KMS mode, OBS uses the keys provided by KMS for server-side encryption.
-For details about how to upload objects to OBS in SSE-KMS mode, see the Object Storage Service User Guide.
-If you enable the encryption function when creating an EVS disk and select a CMK provided by KMS to encrypt the EVS disk, data stored to the EVS disk is automatically encrypted.
-For details about how to use the encryption function of EVS, see the Elastic Volume Service User Guide.
-When creating a private image using an external image file, you can enable the private image encryption function and select a CMK provided by KMS to encrypt the image.
-For details about how to use the private image encryption function of Image Management Service (IMS), see the Image Management Service User Guide.
-When creating a file system on SFS, the CMK provided by KMS can be selected to encrypt the file system, so that files stored in the file system are automatically encrypted.
-For details about how to use the encryption function of SFS, see the Scalable File Service User Guide.
-When creating a database instance, you can enable the disk encryption function of the database instance and select a CMK created on KMS to encrypt the disk of the database instance. The enablement of disk encryption will enhance data security.
-For details about how to use the disk encryption function of RDS, see the Relational Database Service User Guide.
-To encrypt plaintext data, a user application can call the necessary KMS APIs to generate a DEK. The DEK can then be used to encrypt the plaintext data. Then the application can store the encrypted data. In addition, the user application can call the necessary KMS APIs to create CMKs. DEKs can be stored in ciphertext after being encrypted with the CMKs. For details, see the Key Management Service API Reference.
-Object Storage Service (OBS) is a scalable service that provides secure, reliable, and cost-effective cloud storage for massive amounts of data. KMS provides central management and control capabilities of CMKs for OBS. It is used for server-side encryption with KMS-managed keys (SSE-KMS) on OBS.
-Elastic Volume Service (EVS) offers scalable block storage for cloud servers. With high reliability, high performance, and rich specifications, EVS disks can be used for distributed file systems, development and test environments, data warehouse applications, and high-performance computing (HPC) scenarios to meet diverse service requirements. KMS provides central management and control capabilities of CMKs for EVS. It is used for encryption in EVS.
-Image Management Service (IMS) allows you to manage the entire lifecycle of your images. KMS provides central management and control capabilities of CMKs for Image Management Service (IMS). It is used for private image encryption in IMS.
-Scalable File Service (SFS) provides high-performance file storage (NAS) that can be expanded on demand. KMS provides central management and control capabilities of CMKs for SFS. It is used for file system encryption in SFS.
-Relational Database Service (RDS) is a cloud relational database that is reliable, scalable, easy to manage, and immediately ready for use. KMS provides central management and control capabilities of CMKs for RDS. It is used for disk encryption in RDS.
-Document Database Service (DDS) is a MongoDB-compatible database service that is secure, highly available, reliable, scalable, and easy to use. It provides DB instance creation, scaling, redundancy, backup, restoration, monitoring, and alarm reporting functions with just a few clicks on the DDS console. KMS provides central management and control capabilities of CMKs for DDS. It is used for disk encryption in DDS.
-Cloud Trace Service (CTS) provides you with a history of KMS operations. After the CTS service is enabled, you can view all generated traces to review and audit performed KMS operations. For details, see the Cloud Trace Service User Guide.
- -Operation - |
-Resource Type - |
-Trace Name - |
-
|---|---|---|
Create a key - |
-CMK - |
-createKey - |
-
Create a DEK - |
-CMK - |
-createDataKey - |
-
Create a plaintext-free DEK - |
-CMK - |
-createDataKeyWithoutPlaintext - |
-
Enable a key - |
-CMK - |
-enableKey - |
-
Disable a key - |
-CMK - |
-disableKey - |
-
Encrypt a DEK - |
-CMK - |
-encryptDatakey - |
-
Decrypt a DEK - |
-CMK - |
-decryptDatakey - |
-
Schedule key deletion - |
-CMK - |
-scheduleKeyDeletion - |
-
Cancel scheduled key deletion - |
-CMK - |
-cancelKeyDeletion - |
-
Generate random numbers - |
-RNG - |
-genRandom - |
-
Modify a key alias - |
-CMK - |
-updateKeyAlias - |
-
Modify key description - |
-CMK - |
-updateKeyDescription - |
-
Prompt risks about CMK deletion - |
-CMK - |
-deleteKeyRiskTips - |
-
Import key materials - |
-CMK - |
-importKeyMaterial - |
-
Delete key materials - |
-CMK - |
-deleteImportedKeyMaterial - |
-
Create a grant - |
-CMK - |
-createGrant - |
-
Retire a grant - |
-CMK - |
-retireGrant - |
-
Revoke a grant - |
-CMK - |
-revokeGrant - |
-
Encrypt data - |
-CMK - |
-encryptData - |
-
Decrypt data - |
-CMK - |
-decryptData - |
-
Add a tag - |
-CMK - |
-dealUnifiedTags - |
-
Delete a tag - |
-CMK - |
-dealUnifiedTags - |
-
Add tags in batches - |
-CMK - |
-dealUnifiedTags - |
-
Delete tags in batches - |
-CMK - |
-dealUnifiedTags - |
-
Enable key rotation - |
-CMK - |
-enableKeyRotation - |
-
Modify key rotation interval - |
-CMK - |
-updateKeyRotationInterval - |
-
Disable key rotation - |
-CMK - |
-disableKeyRotation - |
-
Identity and Access Management (IAM) provides the permission management function for KMS.
-Only users who have KMS Administrator permissions can use KMS.
-To apply for permissions, contact a user with Security Administrator permissions. For details, see the Identity and Access Management User Guide.
-When importing key material, you can specify the expiration time. After the key material expires, KMS deletes it, and the status of the custom key changes to Pending import. You can manually delete the key material as needed. The effect of expiration of the key material is the same as that of manual deletion of the key material.
-This section describes how to delete imported key material on the management console.
-
in the upper left corner of the management console and select a region or project.After the deletion, the key will become unavailable and its status changes to Pending import.
-This section describes how to configure the Simple Message Notification (SMN) function on the Cloud Trace Service (CTS) console.
-Decryption will fail if the key used for encryption has been scheduled for deletion. You will receive messages about the decryption failure on terminals (SMS, email, HTTP, or HTTPS) if the SMN function has been configured in CTS.
+This section describes how to configure the Simple Message Notification (SMN) function on the Cloud Trace Service (CTS) console.
+Decryption will fail if the key used for encryption has been scheduled for deletion. You will receive messages about the decryption failure on terminals (SMS, email, HTTP, or HTTPS) if the SMN function has been configured in CTS.
in the upper left corner of the management console and select a region or project.
in the upper left corner of the management console and select a region or project.Parameter +
|
|---|