How to create a DigitalOcean access token
Allan Denot
Posted on June 6, 2024
Step 1: Login to your DigitalOcean Account
Go to https://cloud.digitalocean.com/login and login with your credentials.
Step 2: Generate Your DigitalOcean API Token
- Log into your DigitalOcean dashboard.
- Navigate to “API” in the main menu on the left side.
- In the “Tokens/Keys” section, click on “Generate New Token.”
-
Give your token a name, select "Custom Scopes" to define granular permissions for your token
-
Select: droplet, regions and sizes
Click "Generate Token"
-
Be sure to copy your new token immediately; you won’t be able to see it again.
Step 3: Configure the ownvpn App
- Launch the ownvpn app and go to “Settings” in the menu bar.
- For the “Provider” option, select “DigitalOcean.”
- Choose your desired data center region from the “Region” dropdown menu.
-
Click on “Credentials” and paste the API token you generated earlier.
Once you save your settings, a green tick will appear next to the “Credentials” button to confirm your API token is successfully integrated.
Step 4: Create Your VPN Instance
With the API set up and credentials configured, you are ready to create your first VPN instance using the ownvpn app with DigitalOcean as your cloud provider.
Posted on June 6, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 30, 2024