Create an application for the connection
An API key held by an IAM application keeps working when a member leaves the Organization, so use one for the connection.
Create the application
Sign in to the Scaleway console, then open IAM & API keys from the drop-down menu in the top right.
- Click the Applications tab.
- Click Create application.
- Name:
StackOne - Click Create application.
Give the application read access
The application has no permissions until a policy grants some.
Create a policy
In IAM & API keys, open the Policies tab.
- Click Create policy.
- Name:
StackOne - Principal: the application you created
Add a rule
Add a rule to the policy for the permission sets the connection needs.
- Under Organization management, select IAMReadOnly.
- Select OrganizationReadOnly.
- Click Next.
- Follow the console prompts for the scope.
- Click Confirm rule.
- Click Create policy.
Generate the API key
Generate a key for the application and keep its secret key.
Generate the key
In IAM & API keys, open the API keys tab.
- Click + Generate API key.
- API key bearer: the application you created
- Expiration: a date your key rotation policy allows
- Click Generate API key.
Copy the secret key
Copy the Secret Key across. Scaleway shows it only once.
Find the Organization ID
Use the Organization the API key belongs to.
Copy the Organization ID
Open the Organization Settings page in the Scaleway console.
- Click Copy ID next to the Organization name to copy the Organization ID across.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions