mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
Restructure the existing `mc admin user` page into separate pages for each subcommand. Also add missing details and correct errors. Staged: http://192.241.195.202:9000/staging/DOCS-785/linux/html/reference/minio-mc-admin/mc-admin-user.html Fixes https://github.com/minio/docs/issues/785
2.0 KiB
2.0 KiB
mc admin user sts info
minio
Table of Contents
mc admin user sts info
Syntax
The mc admin user sts info
command retrieves
information on the specified STS credential, such as the parent MinIO user <minio-internal-idp>
who generated
the credentials, associated policies, and expiration.
STS (Security Token Service)
credentials provide
temporary access to the MinIO deployment.
EXAMPLE
The following command retrieves information on the STS credentials with specified access key:
mc admin user sts info myminio/ "J123C4ZXEQN8RK6ND35I"
SYNTAX
The command has the following syntax:
mc [GLOBALFLAGS] admin user sts info \
[--policy] \
ALIAS \
STSACCESSKEY
Parameters
ALIAS
The alias <mc alias>
of the MinIO deployment.
STSACCESSKEY
The access key for the STS credentials.
--policy
Prints the policy attached to the specified STS credentials in JSON format.