iamrole get_credentials

Prev Next

This command returns details about a temporary access key to an IAM Role.

Usage

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

vcli: admin> get_credentials --id 1 --access-key TEMP945IJLYN0D29A6G4
+--------------------+------------+
| Key-expiration-sec | 1755430066 |
+--------------------+------------+