1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

Adds notes about expiration output for some mc commands (#819)

Adds info to `mc admin user svcacct` and `mc admin user sts` about
exposing expiration for accounts.

Fixes some build errors from the troubleshooting doc.

Closes #786
This commit is contained in:
Daryl White
2023-04-14 15:45:21 -05:00
committed by GitHub
parent 48ac2437e8
commit d91d752273
3 changed files with 18 additions and 9 deletions

View File

@ -42,7 +42,7 @@ The :mc:`mc admin user sts` command has the following subcommands:
- Description
* - :mc-cmd:`mc admin user sts info`
- Retrieves information on the specified STS credential, including the parent user who generated the credentials and it's attached policies.
- Retrieves information on the specified STS credential, including the parent user who generated the credentials, associated policies, and expiration.
Syntax
------
@ -50,7 +50,7 @@ Syntax
.. mc-cmd:: info
:fullpath:
Retrieves information on the specified STS credential, such as the parent user who generated the credentials.
Retrieves information on the specified STS credential, such as the parent user who generated the credentials, associated policies, and expiration.
.. tab-set::

View File

@ -87,6 +87,8 @@ Syntax
--policy "/path/to/policy.json" \
myminio myuser
The command returns the access key and secret key for the new account.
.. tab-item:: SYNTAX
The command has the following syntax:
@ -98,7 +100,7 @@ Syntax
[--access-key] \
[--secret-key] \
[--policy] \
[--commment] \
[--comment] \
ALIAS \
USER
@ -224,7 +226,15 @@ Syntax
.. mc-cmd:: info
:fullpath:
Returns a description of a access keys associated to the specified user. The description includes the parent user of the specified access keys, its status, and whether the access keys has an assigned inline policy.
Returns a description of the specified access key.
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
.. tab-set::