Generating an API key
StackOne connects as an IAM application in your Scaleway Organization. Create the application,
grant it permissions with a policy, then generate the API key whose Secret Key StackOne uses.
Create the application
Sign in to the Scaleway console, then open Management & Governance > IAM in the sidebar.
- Open the Applications tab.
- Click Create application.
- Name:
StackOne Integration - Description: What the application is used for
- Click Create application.

Create the policy
A new application holds no permissions until a policy grants them. In IAM, open the Policies tab and click Create policy.
- Name:
StackOne Integration - Principal type: Applications
- Application name: the application you created

Add the permission sets
Under Add rules, open Select permission sets and choose what the connection may do.
- In Category, select Organization management.
- In Products, select IAM, then select IAMManager.
- In Products, select Organization, then select OrganizationManager.
- For a read-only connection, select IAMReadOnly and OrganizationReadOnly instead.
- Click Next.

Set the scope and create the policy
The scope decides which Projects the permission sets apply to.
- Select Organization-level.
- Click Next.
- Click Confirm rule.
- Click Create Policy.

Generate the API key
In IAM, open the API keys tab and click Generate API key.
- Select API key bearer: An application
- Select application: the application you created
- API key description: Where the key is used
- API key expiration: the expiry your key rotation policy allows
- Will this API key be used for Object Storage?: No, skip for now
- Click Generate API key.

Copy the Secret Key
Copy the Secret Key into StackOne Hub.
- The Secret Key is shown only once, so copy it before you close the dialog.
- Click Close.

Copy the Organization ID
Your Organization ID identifies the Scaleway Organization this connection reads. In IAM, copy the Organization ID shown above the tabs into StackOne Hub.
- Format:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - An API key belongs to one Organization, so this must be the Organization the key was created in.

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