How to add users to a Serverless SQL Database
Users and applications can connect to a database and access its data. Each one can have a different set of customizable permissions.
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
- You have an account and are logged into the Scaleway console
- You have signed up to the private beta and received a confirmation email.
- 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
-
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.
-
Click the email of the user you want to give database access to.
-
Open the Groups & Policies tab.
-
Click + Attach a policy. The policy attachment wizard displays.
-
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.
-
Click Validate.
How to add an application to a Serverless SQL Database
-
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.
-
Open the Applications tab.
-
Click the name of the application you want to give database access to.
-
Click the Groups & Policies tab.
-
Click + Attach a policy. The policy attachment wizard displays.
-
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.
-
Click Validate.