Skip to content

Commit

Permalink
Fixing incorrect duration unit for mc admin accesskey
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindk89 committed Dec 31, 2024
1 parent 2514f0a commit fff6e87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/reference/minio-mc-admin/mc-admin-accesskey-create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ Parameters
:optional:

Length of time for which the accesskey remains valid.
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

For example, ``30m, ``24h``, ``30d``, or similar.
The following expires the credentials after 30 days:

.. code-block::
--expiry-duration 30d
--expiry-duration 720h
Mutually exclusive with :mc-cmd:`~mc admin accesskey create --expiry`.

Expand Down
4 changes: 2 additions & 2 deletions source/reference/minio-mc-admin/mc-admin-accesskey-edit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ Parameters
:optional:

Length of time for which the accesskey remains valid.
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

For example, ``30d``, ``24h``, or similar.
To expire the credentials after 30 days, use:

.. code-block::
--expiry-duration 30d
--expiry-duration 720h
Mutually exclusive with :mc-cmd:`~mc admin accesskey edit --expiry`.

Expand Down

0 comments on commit fff6e87

Please sign in to comment.