API Key

Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
Deprecated

This guide has been deprecated and is no longer being maintained.

Please refer to the updated version of this guide.

Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

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.

  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.

Caution
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

Caution
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.

This page was originally published on


Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.


Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.