How Do I Use Agent to Encrypt AK/SK?

Secret Access Key (SK) is sensitive information. To encrypt the SK, perform the following steps:

  1. Go to the bin/ directory.

    cd /opt/dis-agent-X.X.X/bin

  2. Run the encryption script, enter the password, and press Enter.

    bash dis-encrypt.sh

  3. View the encryption result. The character string following "Encrypt result:" displayed on the console is the encryption result. Use this method to encrypt the MySQL password and SK, respectively and record the ciphertext in the configuration file.