Wondering how to create DigitalOcean Space and API Key? We can help you with it.
At Bobcares, we often receive requests regarding DigitalOcean as part of our DigitalOcean Managed Services.
Today, let’s see how to create DigitalOcean Space and API Key
Creating a DigitalOcean Space
Now let’s take a look at how our Support Engineers create a new space.
In order to create a new Space, use the Create button in the upper-right corner of the Control Panel. We click the button, then choose Spaces from the dropdown.
In case, if there is no space created before, then we can create one directly from the Spaces page.
- To do so, first, we click ‘Spaces’ in the main navigation of the Control Panel.
- Next, we click ‘Create a space’. Either option will take us to the ‘Create a Space’ screen:
- After creating a space, first, we choose a name for space. The name must be unique.
- Next, we choose the datacenter region like the Space we wish to be in.
- Finally, we choose whether we want unauthenticated users to be able to list out all files in the space. However, this does not affect access to individual files.
- Once the name and options are all set, we scroll down and click the ‘Create a Space’ button. Finally, space will be created.
Note: If this is the first case, then a welcome.html file will be seen in the space. Or else it will be empty.
Also, we must take note of the URL of the space. It will be present under the Space name in the file browser view.
Creating an Access Key
In order to access the files from outside of the DigitalOcean Control Panel, we need to generate an access key and secret. These are a pair of random tokens that act as a username and password to grant access to Space.
- First, we click on the API link in the main navigation of the Control Panel. A page appears that lists the ‘DigitalOcean API’ tokens and ‘Spaces’ access keys. We scroll down to the Spaces portion.
- Next, we click on the ‘Generate New Key’ button. The ‘New Spaces key’ dialog will pop up:
- Then we enter a name for the key. We can create as many keys as we like. But the only way to revoke access to a key is to delete it. So we may need to partition keys by a person, by a team, or by the client software you’re using them in.
- After entering the key name, we click on the ‘Generate Key’ button.
- As a result, it will return an API screen listing all the keys.
[Need more assistance with DigitalOcean related queries?- We are here to help you.]
Conclusion
In today’s writeup, we saw how our Support Engineers create DigitalOcean Space and API Key
0 Comments