Recent searches

in

Create an Access Key

Last modified: August 12th, 2026

On this page

An Access Key lets the CloudCannon CLI or an SDK-based program authenticate as you. For more information about what Access Keys are and how they work, please read our documentation on what Access Keys are.

An Access Key inherits your account's full permissions, and CloudCannon shows your Access Key Secret only once. Store the secret somewhere safe, such as a password manager, and revoke the key if it is ever exposed.

There are two ways to create an Access Key. You can create one yourself in Account Settings and supply it to your program, or, if you are setting up the CloudCannon CLI, you can let the CLI create and store one for you through your browser.

You can only make an Access Key for your own account. Access Keys should never be shared.

Create an Access Key through your Account Settings#

To create an Access Key in the app:

  1. Click on your Avatar at the bottom of the App Sidebar and select Account Settings from the Account Menu.
  2. Navigate to the Access Keys page.
  3. Click the Create Access Key button. CloudCannon will open the Create Access Key modal.
  4. Optionally, enter a name for your Access Key in the Name field so you can recognize which program uses it later.
  5. Click the Create button.
  6. Copy your Access Key ID and Access Key Secret using the copy button beside each value, then store them somewhere safe.
  7. Click the Done button to close the modal.

The Access Key is now ready for use. Your new key appears in the Active Access Keys list, where CloudCannon shows its name, its Access Key ID, and the date you created it.

A screenshot of the Create Access Key modal shows the optional Name field and the Create button.
A screenshot of the Create Access Key modal shows the generated Access Key ID and a masked Access Key Secret, each with a copy button, above the Done button.

Because CloudCannon shows the Access Key Secret only once, you cannot retrieve it after you close the Create Access Key modal. If you lose the secret, revoke the key and create a new one.

Log in with the CloudCannon CLI#

If you are setting up the CloudCannon CLI, you do not need to create an Access Key through the app. The CLI can create one for you through your browser and configure itself automatically.

These instructions assume you already have the CloudCannon CLI installed.

To create an Access Key with the CloudCannon CLI:

  1. Run the cloudcannon login command in your terminal. The CLI will print a URL and wait for you to paste your authorization code.
  2. Open the URL shown in your terminal (⁠https://app.cloudcannon.com/cli/login⁠) in your browser. Log in to CloudCannon if you are not already logged in.
  3. On the Authorize the CloudCannon CLI page, review what the CLI will be able to do, then click the Authorize CLI button. CloudCannon will create an Access Key named CloudCannon CLI and open the CloudCannon CLI Authorized page.
  4. On the CloudCannon CLI Authorized page, click the Copy to Clipboard button to copy your authorization code. You can click the visibility button to reveal the code before you copy it.
  5. Paste the authorization code into your terminal.

The CLI stores your credentials and can now act on your behalf. CloudCannon adds a matching Access Key named CloudCannon CLI to your Active Access Keys list, which you can revoke at any time.

A screenshot of the Authorize the CloudCannon CLI page shows the access the CLI is requesting and the Authorize CLI button.
A screenshot of the CloudCannon CLI Authorized page shows a masked authorization code with a Copy to Clipboard button.

Each time you log in with the CLI, CloudCannon creates a new Access Key. In general, you will only need to log in once per machine. However, if you log in repeatedly, you will see several CloudCannon CLI entries in your Active Access Keys list, and you can revoke any you no longer need.

Revoke an Access Key#

When a program no longer needs access, or when you suspect the Access Key Secret has been exposed, you can revoke the key. CloudCannon will reject any request signed with a revoked key.

To revoke an Access Key:

  1. Click on your Avatar at the bottom of the App Sidebar and select Account Settings from the Account Menu.
  2. Navigate to the Access Keys page.
  3. Identify the key you want to remove in the Active Access Keys list and click the Context Menu.
  4. Select the Revoke option from the Context Menu. CloudCannon will open a confirmation modal.
  5. Click the Revoke button in the confirmation modal.

The Access Key moves to the Revoked Access Keys list immediately, and CloudCannon rejects any further requests signed with it. CloudCannon deletes revoked keys permanently 30 days after revocation.

A screenshot of the revoke confirmation modal shows a warning that revoking takes effect immediately and cannot be undone, with Cancel and Revoke buttons.

Related Resources

Open in a new tab