mc admin user sts
Table of Contents
Description
New in version RELEASE.2023-02-16T19-20-11Z.
The mc admin user sts
command operates on credentials generated using a Security Token Service (STS) API.
STS credentials provide temporary access to the MinIO deployment.
Use mc admin
on MinIO Deployments Only
MinIO does not support using mc admin
commands with other
S3-compatible services, regardless of their claimed compatibility with MinIO
deployments.
The mc admin user sts
command has the following subcommands:
Subcommand |
Description |
---|---|
Retrieves information on the specified STS credential, including the parent user who generated the credentials, associated policies, and expiration. |
Syntax
- mc admin user sts info
Retrieves information on the specified STS credential, such as the parent user who generated the credentials, associated policies, and expiration.
The following command retrieves information on the STS credentials with specified access key:
mc admin user sts info myminio/ "J123C4ZXEQN8RK6ND35I"
mc [GLOBALFLAGS] admin user sts info \ [--policy] \ ALIAS \ STSACCESSKEY
- ALIAS
- Required
The alias of the MinIO deployment for which the STS credentials were generated.