How Do I Obtain an AK/SK?

Access Key ID/Secret Access Key (AK/SK) indicate a key pair.

  • AK: access key ID, which is a unique identifier associated with a secret access key and is used in conjunction with a secret access key to sign requests cryptographically.
  • SK: secret access key used in conjunction with an AK to sign requests cryptographically. It identifies a request sender and prevents the request from being modified.

Each user can create a maximum of two AK/SK pairs. Once they are generated, they are permanently valid. For details, see Creating an Access Key.

Creating an Access Key

  1. Log in to HUAWEI CLOUD and click Console in the upper right corner.

  2. On the management console, hover over the username in the upper right corner and choose My Credentials from the drop-down list.

  3. Choose Access Keys from the navigation pane.
  4. Click Create Access Key, and enter the verification code or password.

    • You can create a maximum of two access keys. The quota cannot be increased. If you already have two access keys, you can only delete an access key and create a new one.
    • To change an access key, delete it and create a new one.

  5. Click OK to generate an access key and download it.

    After the access key is created, view the AK in the access key list and view the SK in the downloaded CSV file.
    • Download the access key file and keep it properly. If the download page is closed, you will not be able to download the access key. However, you can create a new one.
    • Open the CSV file in the lower left corner, or choose Downloads in the upper right corner of the browser and open the CSV file.
    • Keep your access keys secure and change them periodically for security purposes. To change an access key, delete it and create a new one.