---
title: How to create credentials for NATS
description: Learn how to create credentials for Scaleway NATS. Securely manage access, and ensure seamless integration with this step-by-step guide.
tags: credentials messaging queuing key token nats
dates:
  validation: 2025-10-07
  posted: 2025-04-01
---
import Requirements from '@macros/iam/requirements.mdx'

import image from './assets/scaleway-nats-overview.webp'
import image2 from './assets/scaleway-nats-creds.webp'


This page shows how to create [credentials](/nats/concepts/#credentials) for Scaleway NATS. 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.

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- A [NATS account](/nats/how-to/create-account/)

## 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.

1. Click **NATS** in the **Data and Analytics** section of the Scaleway console side menu. 

2. Use the drop-down menu to select the [region](/nats/concepts/#region) of the NATS account for which you want to create credentials. The list of your NATS accounts in the pre-selected region displays.

3. Click the NATS account you want to generate credentials for. The account's **Overview** page displays.

    <Lightbox image={image} alt="In the Scaleway console, the Overview tab of a NATS account is displayed. Three panels are visible: account information (URL and region), Credentials, and Delete NATS account." />

4. In the **Credentials** panel, click **Generate credentials**. A pop-up displays.

5. 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.

    <Lightbox image={image2} alt="In the Scaleway console, a screen shows that a .creds key file has been generated, which the user is prompted to download." />
    
    <Message type="important">
      The generated credentials are displayed only once. Make sure to download and safely store them before closing the window.
    </Message>

6. 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.