@@ -39,43 +39,54 @@ class data_key {
39
39
// /
40
40
// / If the KMS provider is "aws" the masterKey is required and has the following fields:
41
41
// /
42
+ // / ```
42
43
// / {
43
44
// / region: String,
44
45
// / key: String, // The Amazon Resource Name (ARN) to the AWS customer master key (CMK).
45
46
// / endpoint: Optional<String> // An alternate host identifier to send KMS requests to. May
46
- // / include port number. Defaults to "kms.<region>.amazonaws.com"
47
+ // / // include port number. Defaults to
48
+ // / // "kms.<region>.amazonaws.com"
47
49
// / }
50
+ // / ```
48
51
// /
49
52
// / If the KMS provider is "azure" the masterKey is required and has the following fields:
50
53
// /
54
+ // / ```
51
55
// / {
52
56
// / keyVaultEndpoint: String, // Host with optional port. Example: "example.vault.azure.net".
53
57
// / keyName: String,
54
58
// / keyVersion: Optional<String> // A specific version of the named key, defaults to using
55
- // / the key's primary version.
59
+ // / // the key's primary version.
56
60
// / }
61
+ // / ```
57
62
// /
58
63
// / If the KMS provider is "gcp" the masterKey is required and has the following fields:
59
64
// /
65
+ // / ```
60
66
// / {
61
67
// / projectId: String,
62
68
// / location: String,
63
69
// / keyRing: String,
64
70
// / keyName: String,
65
71
// / keyVersion: Optional<String>, // A specific version of the named key, defaults to using
66
- // / the key's primary version.
72
+ // / // the key's primary version.
67
73
// / endpoint: Optional<String> // Host with optional port. Defaults to
68
- // / "cloudkms.googleapis.com".
74
+ // / // "cloudkms.googleapis.com".
69
75
// / }
76
+ // / ```
70
77
// /
71
78
// / If the KMS provider is "kmip" the masterKey is required and has the following fields:
72
79
// /
80
+ // / ```
73
81
// / {
74
- // keyId: Optional<String>, // keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret
75
- // // Data managed object.If keyId is omitted, the driver creates a
76
- // // random 96 byte KMIP Secret Data managed object.
77
- // endpoint: Optional<String> // Host with optional port.
82
+ // / keyId: Optional<String>, // keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret
83
+ // / // Data managed object.If keyId is omitted, the driver creates
84
+ // / // a random 96 byte KMIP Secret Data managed object.
85
+ // / endpoint: Optional<String>, // Host with optional port.
86
+ // / delegated: Optional<Boolean> // If true, this key should be decrypted by the KMIP
87
+ // / // server.
78
88
// / }
89
+ // / ```
79
90
// /
80
91
// / If the KMS provider is "local" the masterKey is not applicable.
81
92
// /
0 commit comments