Skip to content

Commit

Permalink
docs: update examples for secret tokens in data plane README (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronjaquensel authored Nov 28, 2024
1 parent 0f4cf76 commit b199d7d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion extensions/data-plane/data-plane-aws-s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,22 @@ possible values are:
role.
```json
{
"edctype": "dataspaceconnector:secrettoken",
"accessKeyId": "<ACCESS_KEY_ID>",
"secretAccessKey": "<SECRET_ACCESS_KEY>"
}
```
- `AwsTemporatySecretToken`: Has a `sessionToken` in addition to the `accessKeyId` and `secretAccessKey`, it is
typically
referred to as AWS temporary security credentials. This process involves assuming an IAM role to obtain short-term
credentials, which include an `accessKeyId`, `secretAccessKey`, and a session token.
credentials, which include an `accessKeyId`, `secretAccessKey`, and a session token. In addition to these fields,
the token expiration time, which is received together with the credentials upon assuming a role or otherwise
requesting temporary credentials, has to be specified as a **unix timestamp**.
```json
{
"edctype": "dataspaceconnector:secrettoken",
"accessKeyId": "<ACCESS_KEY_ID>",
"secretAccessKey": "<SECRET_ACCESS_KEY>",
"sessionToken": "<SESSION_TOKEN>",
"expiration": "<EXPIRATION>"
}
Expand Down

0 comments on commit b199d7d

Please sign in to comment.