mirror of
https://github.com/minio/minio.git
synced 2024-12-25 14:45:54 -05:00
Adds info on policy for STS authentication using web-id (#9289)
This commit is contained in:
parent
f4e779c964
commit
a78731a3ba
@ -112,6 +112,24 @@ $ go run web-identity.go -cid 204367807228-ok7601k6gj1pgge7m09h7d79co8p35xx.apps
|
||||
2018/12/26 17:49:36 listening on http://localhost:8080/
|
||||
```
|
||||
|
||||
Note: For a reasonable test outcome, make sure the assumed user has at least permission/policy to list all buckets. That policy would look like below:
|
||||
```
|
||||
{
|
||||
"version": "2012-10-17",
|
||||
"statement": [
|
||||
{
|
||||
"effect": "Allow",
|
||||
"action": [
|
||||
"s3:ListAllMyBuckets"
|
||||
],
|
||||
"resource": [
|
||||
"arn:aws:s3:::*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Authorization Flow
|
||||
|
||||
- Visit http://localhost:8080, login will direct the user to the Google OAuth2 Auth URL to obtain a permission grant.
|
||||
|
Loading…
Reference in New Issue
Block a user