You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/iam/how-to/view-permission-sets.mdx
+55-11Lines changed: 55 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,20 +11,64 @@ dates:
11
11
posted: 2024-12-03
12
12
---
13
13
14
-
<Macroid="requirements" />
14
+
You can view the permission sets granted to API keys (via policies) through the Scaleway console, [the AP](https://www.scaleway.com/en/developers/api/iam/#path-permission-sets-list-permission-sets) and the Scaleway CLI.
15
15
16
-
- A Scaleway account logged into the [console](https://console.scaleway.com)
17
-
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
16
+
<Tabsid="viewpermissionsets">
17
+
<TabsTablabel="Via the console">
18
+
<Macroid="requirements" />
19
+
- A Scaleway account logged into the [console](https://console.scaleway.com)
20
+
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
18
21
19
-
1. Click **IAM & API keys** on the top-right drop-down menu of the Scaleway console. The **Users** tab of the [Identity and Access Management dashboard](https://console.scaleway.com/iam/users) displays.
2. Click the name of the user whose permissions you want to view. The user information page displays.
22
-
<Messagetype="tip">
23
-
To view your own permissions as a Member, you can follow the same process and click your name. If you cannot see your own permissions, contact an admin of the Organization, as you may not have the necessary permissions.
24
-
</Message>
25
-
3. Scroll to the **Permission sets** section.
22
+
1. Click **IAM & API keys** on the top-right drop-down menu of the Scaleway console. The **Users** tab of the [Identity and Access Management dashboard](https://console.scaleway.com/iam/users) displays.
2. Click the name of the user whose permissions you want to view. The user information page displays.
25
+
<Messagetype="tip">
26
+
To view your own permissions as a Member, you can follow the same process and click your name. If you cannot see your own permissions, contact an admin of the Organization, as you may not have the necessary permissions.
27
+
</Message>
28
+
3. Scroll to the **Permission sets** section.
29
+
30
+
A list of your permission sets for the selected Organization displays. You can see the scope of the permissions, in which [IAM policy](/iam/concepts/#policy) they were defined, and to which [principal](/iam/concepts/#principal) they are attached to.
31
+
</TabsTab>
32
+
<TabsTablabel="Via the SCW CLI">
33
+
<Macroid="requirements" />
34
+
- A Scaleway account logged into the [console](https://console.scaleway.com)
35
+
- An [SSH key](/organizations-and-projects/how-to/create-ssh-key/)
36
+
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
37
+
- An [SSH key](/organizations-and-projects/how-to/create-ssh-key/)
38
+
- A valid [API key](/iam/how-to/create-api-keys/)
39
+
- Installed and configured the [Scaleway CLI](https://github.com/scaleway/scaleway-cli) on your local machine
40
+
41
+
Run the following command in a terminal. Make sure you replace `<access_key>` with the access key of the API key for which you wish to know the permission sets.
You can see the list of permission sets for the policy attached to the access key.
69
+
</TabsTab>
70
+
</Tabs>
26
71
27
-
A list of your permission sets for the selected Organization displays. You can see the scope of the permissions, in which [IAM policy](/iam/concepts/#policy) they were defined, and to which [principal](/iam/concepts/#principal) they are attached to.
0 commit comments