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

Adds information about role policy and roleARN for OpenID docs. (#983)

Closes #933

- Adds envvar and config param
- Adds Role Policy openID authentication flow
This commit is contained in:
Daryl White
2023-09-01 16:37:59 -05:00
committed by GitHub
parent 45092bab4b
commit 388cc6c9f3
5 changed files with 110 additions and 16 deletions

View File

@ -48,6 +48,8 @@ cluster:
&DurationSeconds=86000
&Policy={}
.. _minio-assumerolewithwebidentity-query-parameters:
Request Query Parameters
~~~~~~~~~~~~~~~~~~~~~~~~
@ -117,6 +119,18 @@ This endpoint supports the following query parameters:
See :ref:`minio-access-management` for more information on MinIO
authentication and authorization.
* - ``RoleARN``
- string
- *Optional*
The role Amazon Resource Number (ARN) to use for all user authentication requests.
If used, there must be a matching OIDC RolePolicy defined for the RoleARN's provider by the ``role_policy`` configuration parameter or the ``MINIO_IDENTITY_OPENID_ROLE_POLICY`` environment variable.
When used, all valid authorization requests assume the same set of permissions provided by the RolePolicy.
You can use :ref:`OpenID Policy Variables <minio-policy-variables-oidc>` to create policies that programmatically manage what each individual user has access to.
If you do not supply a RoleARN, MinIO attempts to authorize through a JWT-based claim.
Response Elements
-----------------