minio/pkg/iam/policy
Andreas Auernhammer a317a2531c
admin: new API for creating KMS master keys (#9982)
This commit adds a new admin API for creating master keys.
An admin client can send a POST request to:
```
/minio/admin/v3/kms/key/create?key-id=<keyID>
```

The name / ID of the new key is specified as request
query parameter `key-id=<ID>`.

Creating new master keys requires KES - it does not work with
the native Vault KMS (deprecated) nor with a static master key
(deprecated).

Further, this commit removes the `UpdateKey` method from the `KMS`
interface. This method is not needed and not used anymore.
2020-07-08 18:50:43 -07:00
..
action.go fix IAM policy action name for Get/PutBucketLifeCycle (#9893) 2020-06-23 10:18:32 -07:00
action_test.go policy: Do not return an error for invalid value during parsing (#9442) 2020-05-10 10:55:28 -07:00
actionset.go policy: Do not return an error for invalid value during parsing (#9442) 2020-05-10 10:55:28 -07:00
actionset_test.go policy: Do not return an error for invalid value during parsing (#9442) 2020-05-10 10:55:28 -07:00
admin-action.go admin: new API for creating KMS master keys (#9982) 2020-07-08 18:50:43 -07:00
constants.go fix support OBDAdminAction is valid action (#9354) 2020-04-15 12:16:40 -07:00
error.go Allow proper setCount SLAs across zones (#8752) 2020-01-07 09:13:44 -08:00
policy.go support multiple policies for temporary users (#9550) 2020-05-11 13:04:11 -07:00
policy_test.go policy: Do not return an error for invalid value during parsing (#9442) 2020-05-10 10:55:28 -07:00
resource.go Rename pkg/{tagging,lifecycle} to pkg/bucket sub-directory (#8892) 2020-01-27 14:12:34 -08:00
resource_test.go [sec] Match ${aws:username} exactly instead of prefix match (#7791) 2019-06-15 11:27:17 -07:00
resourceset.go Disallow only policy statements which are exactly same (#8785) 2020-01-09 19:29:57 -08:00
resourceset_test.go [sec] Match ${aws:username} exactly instead of prefix match (#7791) 2019-06-15 11:27:17 -07:00
statement.go policy: Do not return an error for invalid value during parsing (#9442) 2020-05-10 10:55:28 -07:00
statement_test.go policy: Do not return an error for invalid value during parsing (#9442) 2020-05-10 10:55:28 -07:00