API Key
Updated by Linode Written by Linode
DeprecatedThis guide has been deprecated and is no longer being maintained.Please refer to the updated version of this guide.
Learn how to generate and remove your Linode API keys for use with the Linode API.
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.
- Log in to the Linode Manager.
- Select the my profile link.
- Enter your password and click Authenticate.
- Select the API Keys tab.
- Optional: Type a label for the API key in the Label field.
- Optional: Set an expiration time using the Expires dropdown menu. By default, the key will never expire.
Click the Create API Key button.
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.
CautionThis 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
CautionIf 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.
- Log in to the Linode Manager.
- Select the my profile link.
- Enter your password and click Authenticate.
- Select the API Keys tab.
Click the Remove link next to the appropriate key.
You will see a popup that says Are you sure you want to remove this API key? Click OK.
The key has now been removed.
NoteUsing 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.
Join our Community
Find answers, ask questions, and help others.
This guide is published under a CC BY-ND 4.0 license.