minio/cmd/crypto
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
..
config.go Add crypto context errors (#8740) 2020-01-06 16:15:22 -08:00
doc.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
error.go Add crypto context errors (#8740) 2020-01-06 16:15:22 -08:00
header.go make SSE request header check comprehensive (#8276) 2019-09-21 03:26:12 +05:30
header_test.go make SSE request header check comprehensive (#8276) 2019-09-21 03:26:12 +05:30
help.go add minio/keys KMS integration (#8631) 2019-12-13 12:57:11 -08:00
kes.go admin: new API for creating KMS master keys (#9982) 2020-07-08 18:50:43 -07:00
key.go Add crypto context errors (#8740) 2020-01-06 16:15:22 -08:00
key_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
kms.go admin: new API for creating KMS master keys (#9982) 2020-07-08 18:50:43 -07:00
kms_test.go admin: new API for creating KMS master keys (#9982) 2020-07-08 18:50:43 -07:00
legacy.go Add crypto context errors (#8740) 2020-01-06 16:15:22 -08:00
metadata.go filter all encryption headers in gateway (#9661) 2020-05-21 11:07:50 -07:00
metadata_test.go Add custom policy claim name (#8764) 2020-01-08 17:21:58 -08:00
parse.go Add crypto context errors (#8740) 2020-01-06 16:15:22 -08:00
parse_test.go admin: new API for creating KMS master keys (#9982) 2020-07-08 18:50:43 -07:00
retry.go add kes retries upto two times with jitter backoff (#9527) 2020-05-06 11:44:06 -07:00
sse.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
sse_test.go Move etcd, logger, crypto into their own packages (#8366) 2019-10-08 11:17:56 +05:30
vault.go admin: new API for creating KMS master keys (#9982) 2020-07-08 18:50:43 -07:00
vault_test.go Bring in safe mode support (#8478) 2019-11-09 09:27:23 -08:00