mirror of
https://github.com/minio/docs.git
synced 2025-09-10 20:12:12 +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
91 lines
2.0 KiB
ReStructuredText
91 lines
2.0 KiB
ReStructuredText
.. _minio-mc-admin-svcacct-disable:
|
|
|
|
=================================
|
|
``mc admin user svcacct disable``
|
|
=================================
|
|
|
|
.. default-domain:: minio
|
|
|
|
.. contents:: Table of Contents
|
|
:local:
|
|
:depth: 2
|
|
|
|
.. mc:: mc admin user svcacct disable
|
|
|
|
|
|
.. 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 disable` command to disable an access key for a built-in MinIO IDP user.
|
|
|
|
To disable access keys for AD/LDAP users, use the :mc:`mc idp ldap accesskey disable` command.
|
|
|
|
Syntax
|
|
------
|
|
|
|
.. start-mc-admin-svcacct-disable-desc
|
|
|
|
The :mc-cmd:`mc admin user svcacct disable` command disables an existing access key.
|
|
|
|
.. end-mc-admin-svcacct-disable-desc
|
|
|
|
.. tab-set::
|
|
|
|
.. tab-item:: EXAMPLE
|
|
|
|
The following command disables the specified access key:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc admin user svcacct disable myminio myuserserviceaccount
|
|
|
|
.. tab-item:: SYNTAX
|
|
|
|
The command has the following syntax:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc [GLOBALFLAGS] admin user svcacct disable \
|
|
ALIAS \
|
|
SERVICEACCOUNT
|
|
|
|
.. 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:: SERVICEACCOUNT
|
|
:required:
|
|
|
|
The service account access key to disable.
|
|
|
|
|
|
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
|