docs: Add policy variables for resource and conditions (#10278)

Bonus fix adds LDAP policy variable and clarifies the
usage of policy variables for temporary credentials.

fixes #10197
This commit is contained in:
Harshavardhana
2020-08-17 17:39:55 -07:00
committed by GitHub
parent e57c742674
commit ede86845e5
14 changed files with 176 additions and 14 deletions

View File

@@ -62,7 +62,7 @@ This admin user will then be allowed to perform create/delete user operations vi
### 3. Configure `mc` and create another user user1 with attached policy user1policy
```
mc config host add myminio-admin1 http://localhost:9000 admin1 admin123 --api s3v4
mc alias set myminio-admin1 http://localhost:9000 admin1 admin123 --api s3v4
mc admin user add myminio-admin1 user1 user123
mc admin policy add myminio-admin1 user1policy ~/user1policy.json