Help Center/ Data Ingestion Service/ FAQs/ DIS Agent Questions/ How Do I Use Agent to Encrypt AK/SK?
Updated on 2024-10-25 GMT+08:00

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.