xyzio

How to get an API Token from Digital Ocean

with 2 comments

An authorization token is required when connecting to Digital Ocean through a third-party app.  The token is used in the header tag of the connection to verify that you’ve authorized the connection.

To get the API token, log into the control panel through the log-in page:  https://cloud.digitalocean.com/login

Then click on the Apps & API (1) link and go to the Generate new token (2) button.

 

After clicking on the Apps & API link, you’ll get to New Personal Access Token page.  First enter a token name (3) – I have TestToken in the example below.  Then select the access level (4), read is recommended unless you want the app you are authorizing to edit droplets and settings in your account.  Finally, click on Generate Token (5) to generate your token.

Clicking Generate Token will take you back to the Personal Access tokens page.  At this point you’ll be presentated with the token.  Copy this token to a safe place.  You will only see it once.  Use the delete button to delete the token.

 

 

 

Advertisements

Written by M Kapoor

September 21, 2014 at 8:26 pm

2 Responses

Subscribe to comments with RSS.

  1. […] URL to access i.e. https://api.digitalocean.com/v2/droplets/ auth_key: Authorization key from […]

  2. […] This link shows how to get the API token from the DO interface:https://blog.xyzio.com/2014/09/21/how-to-get-an-api-token-from-digital-ocean/ […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: