1
0
mirror of https://github.com/minio/docs.git synced 2025-09-02 00:02:14 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-user-sts.rst
Ravind Kumar 8caa50e3d1 General work on releases (#797)
Closes #750 
Closes #736 
Partially Address #767
2023-04-10 16:03:13 -04:00

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.