--- title: "iamrole show" slug: "iamrole-show" tags: ["5.4"] updated: 2026-10-28T01:53:01Z published: 2026-10-28T01:53:01Z canonical: "docs.vastdata.com/iamrole-show" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # iamrole show This command displays the details of a specific IAM role. ## Usage ```plaintext iamrole show --id ID            [--identity-policies] ``` ## Required Parameters | `--id ID` | Specifies the ID of the IAM role to display. | | --- | --- | ## Options | `--identity-policies` | Show the information about attached identity policies. | | --- | --- | ## Example This example shows the details of IAM role with ID 3. ```plaintext 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"         }                 | |                                | }     }   ] }                                                                                                            | +--------------------------------+--------------------------------------------------------------------------------------------------------------------------+ ```