minio/cmd/crypto
Andreas Auernhammer 21d8c0fd13 refactor vault configuration and add master-key KMS (#6488)
This refactors the vault configuration by moving the
vault-related environment variables to `environment.go`
(Other ENV should follow in the future to have a central
place for adding / handling ENV instead of magic constants
and handling across different files)

Further this commit adds master-key SSE-S3 support.
The operator can specify a SSE-S3 master key using
`MINIO_SSE_MASTER_KEY` which will be used as master key
to derive and encrypt per-object keys for SSE-S3
requests.

This commit is also a pre-condition for SSE-S3
auto-encyption support.

Fixes #6329
2018-12-12 12:20:29 +05:30
..
config.go Add support for SSE-S3 server side encryption with vault (#6192) 2018-08-17 12:52:14 -07:00
doc.go fix object rebinding SSE-C security guarantee violation (#6121) 2018-07-09 17:18:28 -07:00
error.go return `Access Denied` for invalid SSE keys (#6432) 2018-09-06 12:31:12 -07:00
header.go Use GetObjectNInfo in CopyObject and CopyObjectPart (#6489) 2018-09-25 12:39:46 -07:00
header_test.go Use GetObjectNInfo in CopyObject and CopyObjectPart (#6489) 2018-09-25 12:39:46 -07:00
key.go crypto: add functions for sealing/unsealing the etag for SSE (#6618) 2018-10-16 10:02:19 -07:00
key_test.go crypto: add functions for sealing/unsealing the etag for SSE (#6618) 2018-10-16 10:02:19 -07:00
kms.go crypto: add support for parsing/creating SSE-C/SSE-S3 metadata (#6169) 2018-07-25 13:35:54 -07:00
kms_test.go crypto: add support for parsing/creating SSE-C/SSE-S3 metadata (#6169) 2018-07-25 13:35:54 -07:00
metadata.go crypto: add RemoveInternalEntries function (#6616) 2018-10-19 10:50:52 -07:00
metadata_test.go crypto: add RemoveInternalEntries function (#6616) 2018-10-19 10:50:52 -07:00
sse.go crypto: add helper functions for unsealing object keys (#6609) 2018-10-12 18:06:38 -07:00
sse_test.go crypto: add helper functions for unsealing object keys (#6609) 2018-10-12 18:06:38 -07:00
vault.go refactor vault configuration and add master-key KMS (#6488) 2018-12-12 12:20:29 +05:30