mirror of
https://github.com/minio/docs.git
synced 2025-08-08 01:43:18 +03:00
Correct mc admin user example, fix warnings (#969)
A few small things: * find/replace error from https://github.com/minio/docs/pull/950 * build warnings Thank you @bendem! https://github.com/minio/docs/pull/950#discussion_r1303044374
This commit is contained in:
@@ -75,7 +75,7 @@ secret key as per your organizations best practices for password generation.
|
||||
|
||||
wget -O - https://min.io/docs/minio/linux/examples/LifecycleManagementAdmin.json | \
|
||||
mc admin policy create Alpha LifecycleAdminPolicy /dev/stdin
|
||||
mc admin user create Alpha alphaLifecycleAdmin LongRandomSecretKey
|
||||
mc admin user add Alpha alphaLifecycleAdmin LongRandomSecretKey
|
||||
mc admin policy attach Alpha LifecycleAdminPolicy --user=alphaLifecycleAdmin
|
||||
|
||||
This example assumes that the specified
|
||||
|
@@ -73,7 +73,7 @@ Bucket replication requires specific permissions on the source and destination d
|
||||
|
||||
wget -O - https://min.io/docs/minio/linux/examples/ReplicationAdminPolicy.json | \
|
||||
mc admin policy create TARGET ReplicationAdminPolicy /dev/stdin
|
||||
mc admin user create TARGET ReplicationAdmin LongRandomSecretKey
|
||||
mc admin user add TARGET ReplicationAdmin LongRandomSecretKey
|
||||
mc admin policy attach TARGET ReplicationAdminPolicy --user=ReplicationAdmin
|
||||
|
||||
MinIO deployments configured for :ref:`Active Directory/LDAP <minio-external-identity-management-ad-ldap>` or :ref:`OpenID Connect <minio-external-identity-management-openid>` user management should instead create a dedicated :ref:`access keys <minio-idp-service-account>` for bucket replication.
|
||||
@@ -100,7 +100,7 @@ Bucket replication requires specific permissions on the source and destination d
|
||||
|
||||
wget -O - https://min.io/docs/minio/linux/examples/ReplicationRemoteUserPolicy.json | \
|
||||
mc admin policy create TARGET ReplicationRemoteUserPolicy /dev/stdin
|
||||
mc admin user create TARGET ReplicationRemoteUser LongRandomSecretKey
|
||||
mc admin user add TARGET ReplicationRemoteUser LongRandomSecretKey
|
||||
mc admin policy attach TARGET ReplicationRemoteUserPolicy --user=ReplicationRemoteUser
|
||||
|
||||
MinIO deployments configured for :ref:`Active Directory/LDAP <minio-external-identity-management-ad-ldap>` or :ref:`OpenID Connect <minio-external-identity-management-openid>` user management should instead create a dedicated :ref:`access keys <minio-idp-service-account>` for bucket replication.
|
||||
|
@@ -81,7 +81,7 @@ You must explicitly assign MinIO policies to a given user or group Distinguished
|
||||
|
||||
The following example assumes an existing :ref:`alias <alias>` configured for the MinIO Tenant.
|
||||
|
||||
Use the :mc-cmd:`mc idp ldap policy attach` command to assign a user or group DN to an existing MinIO Policy:
|
||||
Use the :mc:`mc idp ldap policy attach` command to assign a user or group DN to an existing MinIO Policy:
|
||||
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
Reference in New Issue
Block a user