Andreas Auernhammer
a6f4cf61f2
add UpdateKey
method to KMS interface ( #7974 )
...
This commit adds a new method `UpdateKey` to the KMS
interface.
The purpose of `UpdateKey` is to re-wrap an encrypted
data key (the key generated & encrypted with a master key by e.g.
Vault).
For example, consider Vault with a master key ID: `master-key-1`
and an encrypted data key `E(dk)` for a particular object. The
data key `dk` has been generated randomly when the object was created.
Now, the KMS operator may "rotate" the master key `master-key-1`.
However, the KMS cannot forget the "old" value of that master key
since there is still an object that requires `dk`, and therefore,
the `D(E(dk))`.
With the `UpdateKey` method call MinIO can ask the KMS to decrypt
`E(dk)` with the old key (internally) and re-encrypted `dk` with
the new master key value: `E'(dk)`.
However, this operation only works for the same master key ID.
When rotating the data key (replacing it with a new one) then
we perform a `UnsealKey` operation with the 1st master key ID
and then a `GenerateKey` operation with the 2nd master key ID.
This commit also updates the KMS documentation and removes
the `encrypt` policy entry (we don't use `encrypt`) and
add a policy entry for `rewarp`.
2019-08-01 15:47:47 -07:00
..
2019-08-01 15:47:47 -07:00
2019-07-24 18:05:48 -07:00
2019-07-02 22:34:32 -07:00
2019-07-18 09:58:37 -07:00
2019-06-08 15:54:41 -07:00
2019-04-09 11:39:42 -07:00
2019-07-25 11:20:24 -07:00
2019-07-31 11:08:39 -07:00
2019-06-25 16:42:24 -07:00
2019-06-25 16:42:24 -07:00
2019-07-02 22:34:32 -07:00
2019-05-29 10:21:47 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-07-02 22:34:32 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-15 20:01:17 +01:00
2019-07-19 21:20:33 +01:00
2019-04-12 12:02:37 -07:00
2019-04-12 12:02:37 -07:00
2019-04-09 11:39:42 -07:00
2019-07-02 22:34:32 -07:00
2019-06-08 22:14:07 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-08 13:51:18 -07:00
2019-04-30 16:27:31 -07:00
2019-07-08 13:51:18 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-05-13 12:25:49 -07:00
2019-07-05 14:06:12 -07:00
2019-07-19 21:20:33 +01:00
2019-07-19 21:20:33 +01:00
2019-07-30 14:19:06 +05:30
2019-04-09 11:39:42 -07:00
2019-04-22 01:23:54 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-26 02:41:16 -07:00
2019-07-26 13:42:54 -07:00
2019-07-25 11:20:24 -07:00
2019-07-29 15:58:25 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-26 13:42:54 -07:00
2019-07-12 08:23:20 +05:30
2019-07-25 17:41:25 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-02 18:53:08 -07:00
2019-07-16 00:03:42 +01:00
2019-07-10 23:41:11 +01:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-06-28 22:09:17 -07:00
2019-07-10 23:41:11 +01:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-05-29 16:35:12 -07:00
2019-06-19 17:37:08 -07:00
2019-04-29 10:10:50 +05:30
2019-04-19 10:26:44 -07:00
2019-06-10 20:27:42 +05:30
2019-07-05 20:41:35 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-06-27 15:18:33 +05:30
2019-07-26 13:42:54 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-06-28 22:09:17 -07:00
2019-04-09 11:39:42 -07:00
2019-07-24 15:59:13 +05:30
2019-07-24 15:59:13 +05:30
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-22 22:36:15 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-24 15:59:13 +05:30
2019-04-09 11:39:42 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-07-03 14:31:19 -07:00
2019-07-26 02:41:16 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-07-31 11:08:10 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-07-31 11:08:39 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-06 16:38:39 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-18 23:29:17 +01:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-08-01 12:31:04 -07:00
2019-04-09 11:39:42 -07:00
2019-05-29 13:18:46 -07:00
2017-03-18 11:28:41 -07:00
2019-07-19 21:20:33 +01:00
2019-06-28 22:09:17 -07:00
2019-06-28 22:09:17 -07:00
2019-06-28 22:09:17 -07:00
2019-04-17 23:16:27 -07:00
2019-05-22 12:21:36 -07:00
2019-06-28 22:09:17 -07:00
2019-06-10 20:27:42 +05:30
2019-05-14 13:49:10 -07:00
2019-05-14 13:49:10 -07:00
2019-04-09 11:39:42 -07:00
2019-06-26 10:36:54 -07:00
2019-06-28 22:09:17 -07:00
2019-06-28 22:09:17 -07:00
2019-07-13 00:29:44 +01:00
2019-06-24 15:02:39 -07:00
2019-06-24 15:02:39 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-07-29 14:48:18 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-12 10:08:12 +05:30
2019-07-19 21:20:33 +01:00
2019-07-05 14:06:12 -07:00
2019-05-29 10:21:47 -07:00
2019-04-09 11:39:42 -07:00
2019-07-12 10:08:12 +05:30
2019-07-12 10:08:12 +05:30
2019-05-08 18:35:40 -07:00
2019-04-09 11:39:42 -07:00
2019-07-02 22:34:32 -07:00
2019-07-11 13:19:25 -07:00
2019-04-09 11:39:42 -07:00
2019-07-22 22:36:15 -07:00
2019-06-08 15:54:41 -07:00
2019-07-31 11:08:39 -07:00
2019-07-20 01:38:26 +01:00
2019-07-31 11:08:39 -07:00
2019-05-29 16:35:12 -07:00
2019-06-15 10:11:10 -07:00
2019-07-22 17:06:08 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-05-02 07:09:57 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-23 14:54:28 -07:00
2019-04-23 14:54:28 -07:00
2019-07-25 13:35:27 -07:00
2019-04-09 11:39:42 -07:00
2019-05-29 16:35:12 -07:00
2019-07-10 10:48:43 +05:30
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-01 12:22:01 -07:00
2019-07-21 05:55:09 +01:00
2019-04-09 11:39:42 -07:00
2019-07-26 02:41:16 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-06-08 15:54:41 -07:00
2019-04-09 11:39:42 -07:00
2019-07-02 22:34:32 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-05-21 21:00:02 -07:00
2019-07-02 22:34:32 -07:00
2019-07-02 22:34:32 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-05-14 13:49:10 -07:00
2019-07-13 00:29:44 +01:00
2019-07-13 00:29:44 +01:00
2019-04-23 14:54:28 -07:00
2019-07-29 14:48:18 -07:00
2019-07-13 00:29:44 +01:00
2019-07-13 00:29:44 +01:00
2019-04-09 11:39:42 -07:00
2019-07-02 22:34:32 -07:00
2019-04-09 11:39:42 -07:00
2019-07-02 22:34:32 -07:00
2019-07-24 17:34:23 -07:00
2019-07-19 21:20:33 +01:00
2019-05-02 10:36:57 +05:30
2019-04-17 09:52:08 -07:00
2019-06-08 22:14:07 -07:00
2019-05-06 07:52:42 -07:00
2019-05-29 10:21:47 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-09 01:46:04 +01:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-06-08 15:54:41 -07:00
2019-07-29 14:48:18 -07:00
2019-04-09 11:39:42 -07:00
2019-05-15 14:02:44 +05:30
2019-07-11 22:37:13 +01:00
2019-07-18 09:58:37 -07:00
2019-05-30 05:14:35 -07:00
2019-07-15 20:00:41 +01:00
2019-04-09 11:39:42 -07:00
2019-04-09 11:39:42 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-07-19 21:20:33 +01:00
2019-04-09 11:39:42 -07:00
2019-05-02 10:36:57 +05:30
2019-04-09 11:39:42 -07:00
2019-08-01 14:13:06 -07:00
2019-05-14 12:33:18 -07:00
2019-07-13 00:29:44 +01:00
2019-08-01 14:13:06 -07:00
2019-06-08 22:14:07 -07:00
2019-06-08 22:14:07 -07:00
2019-04-09 11:39:42 -07:00
2019-05-22 13:47:15 -07:00
2019-04-09 11:39:42 -07:00
2019-06-28 22:09:17 -07:00
2019-05-13 12:25:49 -07:00
2019-06-28 22:09:17 -07:00
2019-04-09 11:39:42 -07:00
2019-04-30 16:27:31 -07:00
2019-04-17 09:52:08 -07:00