Security information: API keys are like passwords, they allow total access to your account, do no share them! If you believe one of your keys was compromised, delete it and create a new one.
API keys are unique identifiers associated with your Scaleway projects and consist of an Access Key and a Secret Key. The Secret key is required to authenticate against our API and will only be displayed when you create the API key. Make sure to take a note of it and to keep it secret.
Before you can start using our API, you need to generate a Secret key and Access Key pair. Consider the Access Key as a login, and the Secret key as a password.
Each Scaleway project can have several API keys (so several pairs of access-key + secret). Several API keys are useful to give different applications access to the same Scaleway project. However, you remain in control and you can revoke access to any application individually.
1 . To create an API Key for your project, click on the Credentials tab of the Project dashboard.
2 . Scroll down to the API Keys section.
Note: If you are using Scaleway Developer Tools you will need to retrieve the project ID, which can be found in the Project Credentials page.
Click on Generate new API Key and a pop-up appears giving you the option of adding the API Key purpose (for internal organization). Click on Generate API Key to proceed.
The Access and Secret Key will show on your screen. Take a note of the Secret Key as it will not be recoverable.
Click OK to conclude.
You can execute a command through our API (e.g. Create a Kubernetes cluster) with your API key and ProjectID, as such: