HomeServerlessSQL DatabasesHow to
Add users to a Serverless SQL Database
Jump toUpdate content

How to add users to a Serverless SQL Database

Reviewed on 11 August 2023 • Published on 11 August 2023

Users and applications can connect to a database and access its data. Each one can have a different set of customizable permissions.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:

How to add a user to a Serverless SQL Database

  1. Click Identity and Access Management (IAM) from the top-right of your Organization Dashboard in the Scaleway console. The Users tab of the Identity and Access Management dashboard displays.

  2. Click the email of the user you want to give database access to.

  3. Open the Groups & Policies tab.

  4. Click + Attach a policy. The policy attachment wizard displays.

  5. Choose Select an unassigned policy, then, select the previously created policy from the drop-down menu.

    Note:

    You can also create a new policy or duplicate an existing one to manage the permissions of a user.

  6. Click Validate.

How to add an application to a Serverless SQL Database

  1. Click Identity and Access Management (IAM) from the top-right of your Organization Dashboard in the Scaleway console. The Users tab of the Identity and Access Management dashboard displays.

  2. Open the Applications tab.

  3. Click the name of the application you want to give database access to.

  4. Click the Groups & Policies tab.

  5. Click + Attach a policy. The policy attachment wizard displays.

  6. Choose Select an unassigned policy, then, select the previously created policy from the drop-down menu.

    Note:

    You can also create a new policy or duplicate an existing one to manage the permissions of an application.

  7. Click Validate.

See Also