Skip to content

Commit

Permalink
doc: add note for gateway AssumeRole api (#5184)
Browse files Browse the repository at this point in the history
Co-authored-by: Caitin <[email protected]>
  • Loading branch information
zhijian-pro and CaitinChen authored Sep 23, 2024
1 parent ede286d commit a977aeb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en/guide/gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ http://minio:9000/?Action=AssumeRole&DurationSeconds=3600&Version=2011-06-15&Pol
See the [MinIO official example program](https://github.com/minio/minio/blob/master/docs/sts/assume-role.go).
:::note
Superusers defined by environment variables cannot use AssumeRole APIs; only users added by `mc admin user add` can use AssumeRole APIs.
:::
#### Permission management
By default, newly created users have no permissions and need to be granted permissions using `mc admin policy` before they can be used. This command supports adding, deleting, updating, and listing policies, as well as adding, deleting, and updating permissions for users.
Expand Down
4 changes: 4 additions & 0 deletions docs/zh_cn/guide/gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ http://minio:9000/?Action=AssumeRole&DurationSeconds=3600&Version=2011-06-15&Pol

请参考 MinIO 官方[示例程序](https://github.com/minio/minio/blob/master/docs/sts/assume-role.go)

:::note 注意
环境变量设置的超级用户无法使用 AssumeRole API,只有通过 `mc admin user add` 添加的用户才能使用 AssumeRole API。
:::

#### 权限管理

默认新创建的用户是没有任何权限的,需要使用 `mc admin policy` 为其赋权后才可使用。该命令支持权限的增删改查以及为用户添加删除更新权限。
Expand Down

0 comments on commit a977aeb

Please sign in to comment.