You can also create a new policy or duplicate an existing one to manage the permissions of a user.
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.
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
- Created a Serverless SQL Database
- Created a policy to manage users’ permissions
- 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 -
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.
NoteYou can also create a new policy or duplicate an existing one to manage the permissions of an application.
-
Click Validate.