Create an API key

This page explains how to create an API key for a service account, so that you can create and manage your DoubleCloud resources using the API or Terraform.

Before you start

  1. If you don’t have a service account, create one.

Create an API key

  1. Go to the Project settings page in the console.

  2. Switch to the Service accounts tab.

  3. Select a service account to create an API key for.

  4. Under API keys, click Create key. You’ll see the following dialog:

    Screenshot of a dialog with a new secret key

  5. Copy the Private key and the Public key values and store them in a secure place.

    You can also download the keys in a JSON file by clicking Download file with keys.

    Warning

    You won’t be able to access the keys after you close this dialog.

See also