This page will explain to you how to generate an API Token and how you can use it to authenticate against our API. To get more information about our API, please visit the Developers Genesis Cloud page.
Why use API Token?
API tokens are unique identifiers associated with your Genesis Cloud account and consist of an ID and a Secret Token. The Secret Token is required to authenticate against our API and will only be displayed when you create the token.
For security reasons, the secret token is only shown once. Please copy it and store it securely.
Before using our API, you need to generate a Security Token and ID pair. Consider the token as a combination of user credentials and a password. The ID is a unique identifier as user-given token names or descriptions might be changed.
An ID can uniquely identify a token
It’s not a sensitive piece of information.
It allows you to identify a specific token if you need to revoke it.
The Secret Token is the value that can be used to authenticate against the API (the value used in X-Auth-Token HTTP-header).
The Secret Token must stay secret and not be given to anyone or published online.
The API Token has the same power as your username and password. If someone else sees your Token, they can gain full access to your resources. Treat the Token like your password. Immediately revoke a token if someone else might have seen it.
Important billing information:
Resources created via the API are subject to the same pricing and costs as a resource created via the web dashboard. You can always find all your billed resources in the Billing Dashboard.
How to generate an API Token?
1. Login to your console dashboard and click on 'Key and Tokens' from left-hand side menu under 'Account' section.
2. To generate a new token, click on 'Generate new API Token' in the 'API Tokens' section of the page.
How to use the API Token?
Execute a command through our API (e.g. List your images/snapshots) with your API Token:
"name": "Ubuntu 20.04",
"name": "Ubuntu 18.04",
"name": "Ubuntu 16.04",