Sidebar navigationMain contentFooter
Jump toContribute on Github

How to add users to a Serverless SQL Database

Reviewed on 12 February 2024Published 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)

To perform certain actions described below, you must either be the Owner of the Organization in which the actions will be performed, or an IAM user with the necessary permissions.

Requirements
  • You have an account and are logged into the Scaleway console
  • You have created a Serverless SQL Database
  • You have created a policy to manage users’ permissions
  • You have invited a user to your organization or created an application in IAM

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
How to connect to a Serverless SQL DatabaseHow to manage user permissions for Serverless SQL Databases
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Scaleway Docs
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS