mirror of
https://github.com/minio/docs.git
synced 2025-09-13 04:26:43 +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
108 lines
2.6 KiB
ReStructuredText
108 lines
2.6 KiB
ReStructuredText
.. _minio-mc-admin-svcacct-list:
|
|
|
|
============================
|
|
``mc admin user svcacct ls``
|
|
============================
|
|
|
|
.. default-domain:: minio
|
|
|
|
.. contents:: Table of Contents
|
|
:local:
|
|
:depth: 2
|
|
|
|
.. mc:: mc admin user svcacct list
|
|
.. mc:: mc admin user svcacct ls
|
|
|
|
|
|
.. important::
|
|
|
|
This command has been replaced and will be deprecated in a future MinIO Client release.
|
|
|
|
As of MinIO Client RELEASE.2024-10-08T09-37-26Z, use the :mc:`mc admin accesskey ls` command to list access keys for built-in MinIO IDP users.
|
|
|
|
For access keys for AD/LDAP users, use the :mc:`mc idp ldap accesskey ls` command.
|
|
|
|
Syntax
|
|
------
|
|
|
|
.. start-mc-admin-svcacct-list-desc
|
|
|
|
The :mc:`mc admin user svcacct ls` command lists all access keys associated to the specified user.
|
|
|
|
.. end-mc-admin-svcacct-list-desc
|
|
|
|
The alias :mc:`mc admin user svcacct list` has equivalent functionality to :mc:`mc admin user svcacct ls`.
|
|
|
|
.. tab-set::
|
|
|
|
.. tab-item:: EXAMPLE
|
|
|
|
The following command lists all access keys associated to the user with username ``admin1``:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc admin user svcacct ls myminio admin1
|
|
|
|
The output resembles the following:
|
|
|
|
.. code-block:: shell
|
|
|
|
Access Key | Expiry
|
|
5XF3ZHNZK6FBDWH9JMLX | 2023-06-24 07:00:00 +0000 UTC
|
|
F4V2BBUZSWY7UG96ED70 | 2023-12-24 18:00:00 +0000 UTC
|
|
FZVSEZ8NM9JRBEQZ7B8Q | no-expiry
|
|
HOXGL8ON3RG0IKYCHCUD | no-expiry
|
|
|
|
.. versionadded:: RELEASE.2023-05-26T23-31-54Z
|
|
|
|
The list of access keys includes the expiry date, or ``no-expiry`` for keys that do not expire.
|
|
|
|
.. tab-item:: SYNTAX
|
|
|
|
The command has the following syntax:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc [GLOBALFLAGS] admin user svcacct ls \
|
|
ALIAS \
|
|
USER
|
|
|
|
.. include:: /includes/common-minio-mc.rst
|
|
:start-after: start-minio-syntax
|
|
:end-before: end-minio-syntax
|
|
|
|
|
|
Parameters
|
|
~~~~~~~~~~
|
|
|
|
.. mc-cmd:: ALIAS
|
|
:required:
|
|
|
|
The :mc-cmd:`alias <mc alias>` of the MinIO deployment.
|
|
|
|
.. mc-cmd:: USER
|
|
:required:
|
|
|
|
The username of the user to display access keys for.
|
|
|
|
|
|
Global Flags
|
|
~~~~~~~~~~~~
|
|
|
|
.. include:: /includes/common-minio-mc.rst
|
|
:start-after: start-minio-mc-globals
|
|
:end-before: end-minio-mc-globals
|
|
|
|
|
|
Behavior
|
|
--------
|
|
|
|
S3 Compatibility
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
.. include:: /includes/common-minio-mc.rst
|
|
:start-after: start-minio-mc-s3-compatibility
|
|
:end-before: end-minio-mc-s3-compatibility
|