To obtain an API key, you must first get a dStor account. Once you have registered, you will be able to create API keys that you can use to authenticate API requests.
Creating API Keys
In the dStor dashboard, click on the "Account" tab:
Select your icon at the top of the page and choose Account from the dropdown. Your account page automatically opens to the API Keys tab. Click the Add Key button. In the API Keys modal, add a description and select the number of days before the key expires. Click the Add button. If your key does not appear immediately, you may refresh the page.