[ 
https://issues.apache.org/jira/browse/RANGER-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472665#comment-17472665
 ] 

kirby zhou edited comment on RANGER-3580 at 1/19/22, 3:18 AM:
--------------------------------------------------------------

Major changes of code:
./kms/src/main/java/org/apache/hadoop/crypto/key/

RangerKeyVaultKeyGenerator.java -> RangerAzureKeyVaultKeyGenerator.java
    Rename it to make it clear that this file is for Azure.

TencentKMSProvider.java
    MasterKey / ZoneKey code backend by Tencent KMS.

RangerKeyStoreProvider.java
    Add initialization code of TencentKMSProvider.
    Use this.keyVaultEnabled to uniformly identify the use of various keyvault 
backend.
    
RangerKeyStore.java
    Use this.keyVaultEnabled to uniformly identify the use of various keyvault 
backend.
    Adaptation class name modification, etc.
    
kms/scripts/setup.sh,install.properties
    Added the ability to initialize the configuration files related to Tencent 
Cloud KMS.
kms/config/kms-webapp/dbks-site.xml
    Added the items related to Tencent Cloud KMS configuration.
    


was (Author: kirbyzhou):
Major changes of code:

* ./kms/src/main/java/org/apache/hadoop/crypto/key/

**  RangerKeyVaultKeyGenerator.java ->  AzureKeyVaultKeyGenerator.java ,  
RangerKMSZKI.java

Originally, it was the MasterKey/ZoneKey code dedicated to Azure Key Vault.
The RangerKMSZKI interface was extracted and the original class was renamed.

 *  TencentKMSZoneKeyGenerator.java

MasterKey/ZoneKey code backend by Tencent KMS.

**  RangerKeyStoreProvider.java

Add initialization code of TencentKMSZoneKeyGenerator.

**  RangerKeyStore.java

Change the Azure-related hard-coded code to use RangerKMSZKI.

** Other miscellaneous items

Adaptation class name modification, etc.

* kms/scripts/

** setup.sh,install.properties

Added the ability to initialize the configuration files related to Tencent 
Cloud KMS.

* kms/config/kms-webapp

** dbks-site.xml

Added the items related to Tencent Cloud KMS configuration .

 

> Support Ranger KMS integration with TencentKMS
> ----------------------------------------------
>
>                 Key: RANGER-3580
>                 URL: https://issues.apache.org/jira/browse/RANGER-3580
>             Project: Ranger
>          Issue Type: New Feature
>          Components: kms
>    Affects Versions: 3.0.0
>            Reporter: kirby zhou
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: 0001-add-TencentKMS-as-MasterKeyProvider.patch
>
>
> Want Ranger KMS can work with more Key Vault Provider as its backend.
> Such as Tencent KMS, AliCloud KMS, AWS KMS.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to