Create a service account

A service account is a specific kind of account the allows you to use a third-party service or application to interact with DoubleCloud via the API. When authenticating as a service account, such application has the access to the service determined by the service account's user role.

To create a service account:

  1. Go to the Service accounts tab of the Members page in the console and click Create.

  2. Name your service account and click Next.

  3. Assign permissions to your service account and click Submit. You'll see your new service account's information page:

    service-account-info

Create an API key

* **Viewer** - read-only access.
  1. Click Submit. You'll see your new service account appear on the list.

Create an API key

To use you service account, create at least a single API key to get access to DoubleCloud API:

  1. Go to the Service accounts tab of the Members page in the console.

  2. Open the information page of the service account for which you want to create an API key.

    Tip

    A service account in DoubleCloud can have multiple API keys.

  3. Under API keys, click Create key to create you account's first Secret key. You'll see the following dialog:

    secret-key-dialog

  4. Copy and keep the Private key and the Public key in a safe place.

    1. To download both keys as JSON, click Download file with keys.

    Warning

    Caution: once you close the dialog window, you won't be able to retrieve the contents of the secret key!

See also