# mc admin user sts info

LLMS index: [llms.txt](/llms.txt)

---

<a id="mc-admin-user-sts-info"></a>
<a id="minio-mc-admin-sts-info"></a>

<a id="command-mc.admin.user.sts.info"></a>

## Syntax {#syntax}

The [`mc admin user sts info`](#command-mc.admin.user.sts.info) command retrieves information on the specified STS credential, such as the parent [MinIO user](/administration/identity-access-management/minio-identity-management/#minio-internal-idp) who generated the credentials, associated policies, and expiration.

<abbr title="Security Token Service">STS</abbr> credentials provide temporary access to the MinIO deployment.

**EXAMPLE**

The following command retrieves information on the STS credentials with specified access key:

```shell
mc admin user sts info myminio/ "J123C4ZXEQN8RK6ND35I"
```

**SYNTAX**

The command has the following syntax:

```shell
mc [GLOBALFLAGS] admin user sts info          \
                                [--policy]    \
                                ALIAS         \
                                STSACCESSKEY
```

- Brackets `[]` indicate optional parameters.
- Parameters sharing a line are mutually dependent.
- Parameters separated using the pipe `|` operator are mutually exclusive.

Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.

### Parameters {#parameters}

##### `ALIAS` {#mc.admin.user.sts.info.ALIAS}

*mc-cmd*

*Required*

The [`alias`](/reference/minio-mc/mc-alias/#command-mc.alias) of the MinIO deployment.

##### `STSACCESSKEY` {#mc.admin.user.sts.info.STSACCESSKEY}

*mc-cmd*

*Required*

The access key for the STS credentials.

##### `--policy` {#mc.admin.user.sts.info.-policy}

*mc-cmd*

*Optional*

Prints the policy attached to the specified STS credentials in JSON format.

### Global Flags {#global-flags}

This command supports any of the [global flags](/reference/minio-mc/#minio-mc-global-options).

## Behavior {#behavior}

### S3 Compatibility {#s3-compatibility}

SILO is the supported server for PGSTY mcli; compatibility with upstream MinIO and other S3 services is [best effort](/reference/minio-mc/#command-mc).
