Linode Library Home
Linode Library RSS Feed
Home :: Linode API
Print View View Source

API Key

Published: by

Learn how to generate and remove your Linode API keys for use with the Linode API.

Contents

Generating

Follow the steps below to generate an API key for your Linode account. This will enable access to the Linode API for this user.

  1. Log in to the Linode Manager.

  2. Select the my profile link.

  3. Enter your password and click Authenticate.

  4. Select the API Keys tab.

  5. Optional: Type a label for the API key in the Label field.

  6. Optional: Set an expiration time using the Expires dropdown menu. By default, the key will never expire.

  7. Click the Create API Key button.

    Click the Create API Key button.
  8. You will see a message appear at the top of the page, displaying your new API key. Copy this key and save it in a secure location.

    Copy the API key that appears at the top of the page.

Warning

This is the only opportunity you will have to view and copy the new API key. In the future, only the key prefix will be displayed on this page.

Now you have the API key for your Linode account. Note that this key is associated with your own Linode Manager account user, so it has the same permissions for interacting with your account.

You can create as many keys as desired with different labels and expiration times.

Removing

Warning

If you remove an in-use API key, your applications will break until you update them to use a new key.

Follow these steps to remove an API key. If all keys are removed, the API will become inaccessible.

  1. Log in to the Linode Manager.

  2. Select the my profile link.

  3. Enter your password and click Authenticate.

  4. Select the API Keys tab.

  5. Click the Remove link next to the appropriate key.

    Click the Remove button next to the appropriate key.
  6. You will see a popup that says Are you sure you want to remove this API key? Click OK.

    Click OK.
  7. The key has now been removed.

Note

Using the Linode Manager iPhone App or the Linode CLI will enable access to the API and generate a new API key, even if you have removed (or never created) all API keys for this account. If a key has been saved within the application, that key will be used in the future. If no key is saved in the application, a new key will be generated, even if your account has other existing keys.

Creative Commons License

This guide is licensed under a Creative Commons Attribution-NoDerivs 3.0 United States License.

Last edited by Sharon Campbell on Friday, February 14th, 2014 (r4251).