2.2 KiB
mc admin user sts
minio
Table of Contents
mc admin user sts
Description
RELEASE.2023-02-16T19-20-11Z
The mc admin user sts
command operates on credentials generated using a Security Token Service (STS) <minio-security-token-service>
API.
STS (Security Token Service)
credentials provide
temporary access to the MinIO deployment.
Use mc admin
on MinIO Deployments Only
The mc admin user sts
command has the following subcommands:
Subcommand | Description |
---|---|
mc admin user sts info |
Retrieves information on the specified STS credential, including the parent user who generated the credentials and it's attached policies. |
Syntax
info
Retrieves information on the specified STS credential, such as the parent user who generated the credentials.
EXAMPLE
The following command retrieves information on the STS credentials with specified access key:
mc admin user sts info myminio/ "J123C4ZXEQN8RK6ND35I"
SYNTAX
mc [GLOBALFLAGS] admin user sts info \
[--policy] \
ALIAS \
STSACCESSKEY
ALIAS
The alias <alias>
of the MinIO deployment for which
the STS credentials were generated.
STSACCESSKEY
The access key for the STS credentials.
--policy
Prints the policy attached to the specified STS credentials in JSON format.