mirror of
https://github.com/minio/docs.git
synced 2025-08-09 13:02:53 +03:00
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
2.6 KiB
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
oroff
) - 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 thealias <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