This command displays the details of a specific IAM role.
Usage
iamrole show --id ID
[--identity-policies]Required Parameters
| Specifies the ID of the IAM role to display. |
Options
| Show the information about attached identity policies. |
Example
This example shows the details of IAM role with ID 3.
vcli: admin> iamrole show --id 3
+--------------------------------+--------------------------------------------------------------------------------------------------------------------------+
| ID | 3 |
| Name | role3 |
| Description | secure |
| Max Session Duration (seconds) | 1 day, 12 hours |
| Tenant name | default |
| Trust-policy | { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Federated": |
| | "oidc-provider/integrator-1234567.okta.com/oauth2/default" }, "Action": "sts:AssumeRoleWithWebIdentity", |
| | "Condition": { "StringEquals": { "user-OIDC:email": "user.user@vastdata.com" } |
| | } } ] } |
+--------------------------------+--------------------------------------------------------------------------------------------------------------------------+