1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00

Fix the name of RoleArn param in AssumeRoleWithWebIdentity requests (#1095)

In `AssumeRoleWithWebIdentity` requests, the RoleArn form paramter is
designated to specify the role to be assumed. It is crucial to note that
the correct key is RoleArn, not RoleARN.

When I used the "RoleARN" form key instead of "RoleArn," I encountered
an error similar to the following:
```xml
<ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/"><Error><Type></Type><Code>InvalidParameterValue</Code><Message>Role arn:minio:iam:::role/dummy-internal does not exist</Message></Error><RequestId>XXX</RequestId></ErrorResponse>
```

Despite this, certain documentation erroneously employs RoleARN. To
rectify this inconsistency, I have replaced the instances of RoleARN
with the correct RoleArn. However, for other documents that use RoleARN
without specifying the form parameter, no modifications have been made.

Ref:
ba245c6c46/cmd/sts-handlers.go (L50C2-L50C12)
This commit is contained in:
Tsuzuki Tsuchiya
2023-12-27 00:18:04 +09:00
committed by GitHub
parent ed2553efc8
commit 2acf572489
3 changed files with 5 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ This endpoint supports the following query parameters:
See :ref:`minio-access-management` for more information on MinIO
authentication and authorization.
* - ``RoleARN``
* - ``RoleArn``
- string
- *Optional*