检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
How Do I Use Agent to Encrypt AK/SK? Secret Access Key (SK) is sensitive information.
How Do I Use Agent to Encrypt AK/SK?
For details about how to encrypt the SK, see the AK/SK encryption note.
Unit: second 60 dataEncryptEnabled No An indicator of whether data is encrypted using the Advanced Encryption Standard (AES) algorithm. true false false dataPassword No Password used to encrypt or decrypt data.
the password of the DWS database kms_user_key_id Yes String ID of the key created in KMS and used to encrypt the password of the DWS database obs_bucket_path Yes String Name of the OBS bucket used to temporarily store data in the DIS stream file_prefix No String Self-defined directory
the password of the DWS database kms_user_key_id String ID of the key created in KMS and used to encrypt the password of the DWS database obs_bucket_path String Name of the OBS bucket used to temporarily store data in the DIS stream file_prefix String Self-defined directory created
92f90f6a-de4d-4689-82f6-320c328b0062"); descriptor.setDwsDatabaseName("postgres"); descriptor.setDwsSchema("dbadmin"); descriptor.setDwsTableName("distable01"); descriptor.setDwsDelimiter("|"); descriptor.setUserName("dbadmin"); descriptor.setUserPassword("xxxx"); //Call KMS to encrypt
Encrypt the AK/SK in the configuration file or environment variables for storage; // In this example, the AK and SK stored in the environment variables are used for identity authentication.
Encrypt the AK/SK in the configuration file or environment variables for storage; // In this example, the AK and SK stored in the environment variables are used for identity authentication.
Encrypt the AK/SK in the configuration file or environment variables for storage; // In this example, the AK and SK stored in the environment variables are used for identity authentication.
Encrypt the AK/SK in the configuration file or environment variables for storage; // In this example, the AK and SK stored in the environment variables are used for identity authentication.
// Configure the number of retries upon a failure. .withProperty(DISConfig.PROPERTY_PRODUCER_RECORDS_RETRIES, "-1") .withProperty(DISConfig.PROPERTY_PRODUCER_EXCEPTION_RETRIES, "-1") .build(); If JAVA SDK is used to encrypt the uploaded data, you also need to use