The generated credentials are displayed only once. Make sure to download and safely store them before closing the window.
How to create credentials for NATS, Queues, or Topics and Events
This page shows how to create credentials for Scaleway NATS, Queues and Topics and Events (previously grouped together as the Messaging and Queuing product). Credentials give their bearer (e.g. services and platforms) access to your service.
You can create multiple sets of credentials for each of your NATS accounts, and for your Queues and Topics and Events services.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
How to create credentials for a NATS account
Credentials for NATS accounts are not granular: they necessarily give full read and write access. The bearer of these credentials can publish and receive messages, as well as manage topics and streams, for this account.
-
Click NATS in the Serverless section of the Scaleway console side menu.
-
Use the drop-down menu to select the region of the NATS account for which you want to create credentials. The list of your NATS accounts in the pre-selected region displays.
-
Click the NATS account you want to generate credentials for. The account’s Overview page displays.
-
In the Credentials panel, click Generate credentials. A pop-up displays.
-
Enter a name for these credentials, and click Generate credentials.
The credentials are created and a button displays prompting you to download them in a
.creds
file.Important -
Click Download and save the file, before closing the window.
You are returned to your NATs account’s overview page. The name of your newly-generated credentials and their access level is displayed in the Credentials panel.
How to create credentials for Queues
Credentials for Queues are granular: you can define the level of access that they should give. Credentials give the specified level of access to all queues that you create in the region they are scoped to.
-
Click Queues in the Serverless section of the Scaleway console side menu. A list of your queues displays.
-
Click the Credentials tab.
-
Click Generate credentials. A pop-up displays:
-
Choose a region that these credentials should be scoped to.
-
Enter a name for these credentials.
-
Select the required permissions for the credentials. You must choose at least one of Write, Read and Manage. You are free to select any combination of these permissions.
-
Click Generate credentials.
The credentials are created. The access key and secret key are displayed, and you are invited to copy them.
ImportantThis is your only chance to view and save the secret key. Make sure that you copy it and save it somewhere securely.
-
Copy and save the credentials, before closing the window.
You are returned to the Credentials tab. The name of your newly-generated credentials, along with the access key and access level are displayed.
How to create credentials for Topics and Events
Credentials for Topics and Events are granular: you can define the level of access that they should give. Credentials give the specified level of access to all topics that you create in the region they are scoped to.
-
Click Topics and Events in the Serverless section of the Scaleway console side menu. The Topics and Events dashboard displays.
-
Click the Credentials tab.
-
Click Generate credentials. A pop-up displays:
-
Choose a region that these credentials should be scoped to.
-
Enter a name for these credentials.
-
Select the required permissions for the credentials. You must choose at least one of Write, Read and Manage. You are free to select any combination of these permissions.
-
Click Generate credentials.
The credentials are created. The access key and secret key are displayed, and you are invited to copy them.
ImportantThis is your only chance to view and save the secret key. Make sure that you copy it and save it somewhere securely.
-
Copy and save the credentials, before closing the window.
You are returned to the Credentials tab. The name of your newly-generated credentials, along with the access key and access level are displayed.