Skip to main content
Only Organization owners can create and manage API keys. Keys are not tied to individual users and remain valid even if the creator leaves the organization.

Generate a Cloud API key

Create an API key for authenticating with the Elastic Cloud REST API.

1

Navigate to API keys

Log in to the Elastic Cloud Console, click your avatar in the top-right corner, and select Organization.

  • Go to the API keys tab.
2

Create a new key

Click Create API key.

  • Enter a descriptive Name (e.g., “StackOne Integration”).
  • Set an Expiration (default 3 months, max 1 year, or never).
  • Assign appropriate Roles (Organization owner recommended for full access).
  • Click Create API key.
3

Copy the key

The API key is displayed only once after creation. Copy it immediately and store it securely.

  • If you lose the key, you will need to create a new one.
  • Format used in requests: Authorization: ApiKey <your_key>

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Cloud API Key
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.