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

Fixes for missing or bugs in the custom token STS docs (#1479)

- Adds that `idmp-` string is added to `ROLE_ID` when generating an ARN
- Updates claims example in the plugin docs to be JSON instead of basic
comma-delimited key-value pairs
This commit is contained in:
Daryl White
2025-07-06 15:43:45 -04:00
committed by GitHub
parent 3fec026a95
commit ef4faab6d8
3 changed files with 6 additions and 2 deletions

View File

@ -75,7 +75,7 @@ The login flow for an application is as follows:
{
"user": "<string>",
"maxValiditySeconds": 3600,
"claims": "KEY=VALUE,[KEY=VALUE,...]"
"claims": {"KEY": "VALUE", ...}
}
.. list-table::
@ -90,7 +90,7 @@ The login flow for an application is as follows:
- The maximum allowed expiry duration for the returned credentials
* - ``claims``
- A list of key-value pair claims associated with the requested credentials.
- A JSON string of ``"key": "value"`` pair claims associated with the requested credentials.
MinIO reserves and ignores the ``exp``, ``parent``, and ``sub`` claims objects if present.
4. MinIO returns a response to the STS API request that includes temporary credentials for use with making authenticated requests.