File tree Expand file tree Collapse file tree 5 files changed +78
-26
lines changed Expand file tree Collapse file tree 5 files changed +78
-26
lines changed Original file line number Diff line number Diff line change @@ -40,25 +40,25 @@ appropriate for your deployment:
40
40
41
41
.. tabs::
42
42
43
- .. tab:: Amazon KMS
43
+ .. tab:: Amazon Web Services KMS
44
44
:tabid: aws-kms
45
45
46
- .. include:: /includes/steps/aws-kms.rst
46
+ .. include:: /includes/steps/createkey- aws-kms.rst
47
47
48
48
.. tab:: Azure Key Vault
49
49
:tabid: azure-vault
50
50
51
- .. include:: /includes/steps/azure-vault.rst
51
+ .. include:: /includes/steps/createkey- azure-vault.rst
52
52
53
53
.. tab:: Google Cloud KMS
54
54
:tabid: gcp-kms
55
55
56
- .. include:: /includes/steps/gcp-kms.rst
56
+ .. include:: /includes/steps/createkey- gcp-kms.rst
57
57
58
58
.. tab:: Local Keyfile
59
59
:tabid: local-keyfile
60
60
61
- .. include:: /includes/steps/local-keyfile.rst
61
+ .. include:: /includes/steps/createkey- local-keyfile.rst
62
62
63
63
.. seealso::
64
64
Original file line number Diff line number Diff line change @@ -89,16 +89,29 @@ content: |
89
89
90
90
keyVault.createKey(
91
91
"aws",
92
- { region: "regionname", key: "awsarn" }
92
+ { region: "regionname", key: "awsarn" },
93
+ [ "keyAlternateName" ]
93
94
)
94
95
95
96
Where:
96
-
97
- - ``regionname`` is the AWS region you are connecting to, such as
98
- ``us-west-2``
99
- - ``awsarn`` is the `Amazon Resource Name (ARN)
100
- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__
101
- to the AWS customer master key (CMK).
97
+
98
+ - The first parameter *must* be ``"aws"`` to specify the configured
99
+ Amazon Web Services KMS.
100
+
101
+ - The second parameter *must* be a document containing the following:
102
+
103
+ - the AWS region you are connecting to, such as ``us-west-2``
104
+
105
+ - the `Amazon Resource Name (ARN)
106
+ <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__
107
+ to the AWS customer master key (CMK).
108
+
109
+ - The third parameter *may* be an array of one or more
110
+ ``keyAltNames`` for the data encryption key. Each key alternate
111
+ name *must* be unique. :method:`getKeyVault()` creates a
112
+ :ref:`unique index <index-type-unique>` on ``keyAltNames`` to
113
+ enforce uniqueness on the field if one does not already exist. Key
114
+ alternate names facilitate data encryption key findability.
102
115
103
116
.. include:: /includes/fact-getkey-options.rst
104
117
...
Original file line number Diff line number Diff line change @@ -88,14 +88,28 @@ content: |
88
88
89
89
keyVault.createKey(
90
90
"azure",
91
- { keyName: "keyvaultname", keyVaultEndpoint: "endpointname" }
91
+ { keyName: "keyvaultname", keyVaultEndpoint: "endpointname" },
92
+ [ "keyAlternateName" ]
92
93
)
93
94
94
95
Where:
96
+
97
+ - The first parameter *must* be ``"azure"`` to specify the configured
98
+ Azure Key Vault.
99
+
100
+ - The second parameter *must* be a document containing:
95
101
96
- - ``keyvaultname`` is the name of your `Azure Key Vault
97
- <https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name>`__
98
- - ``endpointname`` is the name of the Key Vault Endpoint to use
102
+ - the name of your `Azure Key Vault
103
+ <https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name>`__
104
+ - the DNS name of the Azure Key Vault to use (e.g.
105
+ ``my-key-vault.vault.azure.net``)
106
+
107
+ - The third parameter *may* be an array of one or more
108
+ ``keyAltNames`` for the data encryption key. Each key alternate
109
+ name *must* be unique. :method:`getKeyVault()` creates a
110
+ :ref:`unique index <index-type-unique>` on ``keyAltNames`` to
111
+ enforce uniqueness on the field if one does not already exist. Key
112
+ alternate names facilitate data encryption key findability.
99
113
100
114
.. include:: /includes/fact-getkey-options.rst
101
115
...
Original file line number Diff line number Diff line change @@ -91,18 +91,31 @@ content: |
91
91
location: "locationname",
92
92
keyRing: "keyringname",
93
93
keyName: "keyname"
94
- }
94
+ },
95
+ [ "keyAlternateName" ]
95
96
)
96
97
97
98
Where:
98
-
99
- - ``projectid`` is the name of your GCP project, such as
100
- ``my-project``
101
- - ``locationname`` is the location of the KMS keyring, such as
102
- ``global``
103
- - ``keyringname`` is the name of the KMS keyring, such as
104
- ``my-keyring``
105
- - ``keyname`` is the name of your key.
99
+
100
+ - The first parameter *must* be ``"gcp"`` to specify the configured
101
+ Google Cloud KMS.
102
+
103
+ - The second parameter *must* be a document containing
104
+
105
+ - ``projectid`` is the name of your GCP project, such as
106
+ ``my-project``
107
+ - ``locationname`` is the location of the KMS keyring, such as
108
+ ``global``
109
+ - ``keyringname`` is the name of the KMS keyring, such as
110
+ ``my-keyring``
111
+ - ``keyname`` is the name of your key.
112
+
113
+ - The third parameter *may* be an array of one or more
114
+ ``keyAltNames`` for the data encryption key. Each key alternate
115
+ name *must* be unique. :method:`getKeyVault()` creates a
116
+ :ref:`unique index <index-type-unique>` on ``keyAltNames`` to
117
+ enforce uniqueness on the field if one does not already exist. Key
118
+ alternate names facilitate data encryption key findability.
106
119
107
120
.. include:: /includes/fact-getkey-options.rst
108
121
...
Original file line number Diff line number Diff line change @@ -94,8 +94,20 @@ content: |
94
94
95
95
keyVault.createKey(
96
96
"local",
97
- ["keyAltName" ]
97
+ [ "keyAlternateName" ]
98
98
)
99
99
100
+ Where:
101
+
102
+ - The first parameter *must* be ``local`` to specify the configured
103
+ Locally Managed Key.
104
+
105
+ - The second parameter *may* be an array of one or more
106
+ ``keyAltNames`` for the data encryption key. Each key alternate
107
+ name *must* be unique. :method:`getKeyVault()` creates a unique
108
+ index on ``keyAltNames`` to enforce uniqueness on the field if
109
+ one does not already exist. Key alternate names facilitate data
110
+ encryption key findability.
111
+
100
112
.. include:: /includes/fact-getkey-options.rst
101
113
...
You can’t perform that action at this time.
0 commit comments