From fff6e87c037c4f2532de3a21d21394c5b086721b Mon Sep 17 00:00:00 2001 From: Ravind Kumar Date: Tue, 31 Dec 2024 11:15:08 -0500 Subject: [PATCH] Fixing incorrect duration unit for mc admin accesskey --- source/reference/minio-mc-admin/mc-admin-accesskey-create.rst | 4 ++-- source/reference/minio-mc-admin/mc-admin-accesskey-edit.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/reference/minio-mc-admin/mc-admin-accesskey-create.rst b/source/reference/minio-mc-admin/mc-admin-accesskey-create.rst index f00d8f6a..c4b28399 100644 --- a/source/reference/minio-mc-admin/mc-admin-accesskey-create.rst +++ b/source/reference/minio-mc-admin/mc-admin-accesskey-create.rst @@ -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`. diff --git a/source/reference/minio-mc-admin/mc-admin-accesskey-edit.rst b/source/reference/minio-mc-admin/mc-admin-accesskey-edit.rst index 530d9923..0bd2cb88 100644 --- a/source/reference/minio-mc-admin/mc-admin-accesskey-edit.rst +++ b/source/reference/minio-mc-admin/mc-admin-accesskey-edit.rst @@ -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`.