Creating an Access Key

You can create an access key for your account. Access keys enable you to sign your API requests. At the creation of an access key, its state is automatically set to ACTIVE, enabling it to sign requests.

When using the API, you need to get one of the access keys already created for your account from Cockpit v1 to sign your request. For more information, see Getting Information About Your Access Keys.

Creating an Access Key Using Cockpit v2

  1. In the top right corner, click your initials.
    A drop-down menu appears.

  2. Click IconKey Access Keys.
    The PASSWORD CONFIRMATION dialog box appears.

  3. Enter your current password and click Submit.
    The list of your access keys appears.

  4. Click IconAddFull Create.
    The GENERATE AN ACCESS KEY dialog box appears.

  5. (optional) Set an expiration date.

    As a good practice, it is recommended to set an expiration date and renew your access key regularly.

  6. Click Generate.
    The access key is created.

  7. Click IconCopy to copy the secret key, or click IconImport Download to download a file containing the secret key.

    For security reasons, the secret key is only available when creating the access key. Save it carefully as you will not be able to retrieve it later.

Creating an Access Key Using Cockpit v1

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Personal information & Access keys .
    A page with your account details appears.

  3. Click Access keys.
    The PASSWORD CONFIRMATION dialog box appears.

  4. Enter your current password and click Confirm.
    The list of your access keys appears.

  5. Click Create .
    A confirmation dialog box appears.

  6. Click Generate to validate.
    The access key is created.

Creating an Access Key Using OSC CLI

See the CreateAccessKey command sample in the documentation of the OUTSCALE API.

Related Pages

Corresponding API Methods