--- title: "iamrole get_credentials" slug: "iamrole-get-credentials" tags: ["5.4"] updated: 2026-10-28T01:53:01Z published: 2026-10-28T01:53:01Z canonical: "docs.vastdata.com/iamrole-get-credentials" --- > ## 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 get_credentials This command returns details about a temporary access key to an IAM Role. ## Usage ```plaintext get_credentials --id ID                --access-key ACCESS_KEY ``` ## Required Parameters | `--id ID` | Specifies the ID of the IAM Role. | | --- | --- | | `--access-key ACCESS_KEY` | Specifies the JWT access key for the IAM Role. | ## Example ```plaintext vcli: admin> get_credentials --id 1 --access-key TEMP945IJLYN0D29A6G4 +--------------------+------------+ | Key-expiration-sec | 1755430066 | +--------------------+------------+ ```