1
0
mirror of https://github.com/minio/docs.git synced 2025-08-09 13:02:53 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-accesskey-info.rst
Daryl White af3d8aba9f Updates for two October 2024 releases (#1353)
Deprecates a no longer used operator environment variable.

Closes #1351

Adds `mc admin accesskey` and subcommands.
Updates `mc admin user svcacct` and subcommands with reference to new
commands.

Closes #1350
2024-10-22 16:32:42 -04:00

2.6 KiB

mc admin accesskey info

minio

Table of Contents

mc admin accesskey info

Syntax

The mc admin accesskey info command returns a description of the specified access key(s) <minio-id-access-keys>.

The description output includes the following details, as available:

  • Access Key
  • Parent user of the specified access key
  • Access key status (on or off)
  • Policy or policies
  • Comment
  • Expiration

EXAMPLE

The following command returns information on the specified access key:

mc admin accesskey info myminio myuseraccesskey 

SYNTAX

The command has the following syntax:

mc [GLOBALFLAGS] admin accesskey info      \  
                                 ALIAS     \  
                                 ACCESSKEY

Parameters

ALIAS

The alias <mc alias> of the MinIO deployment.

ACCESSKEY

The access key to display.

Return information for multiple access keys by separating each access key with a space.

Global Flags

Examples

Display access key details

Use mc admin accesskey info to display details of an access key on a MinIO deployment:

mc admin accesskey info myminio myaccesskey
  • Replace myminio with the alias <mc alias> of the MinIO deployment.
  • Replace myaccesskey <mc admin user svcacct info ACCESSKEY> with the access key for which to display information. List multiple keys by separating each with a space.

The output resembles the following:

AccessKey: myuserserviceaccount
ParentUser: myuser
Status: on
Comment: 
Policy: implied
Expiration: no-expiry

Behavior

S3 Compatibility