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:
4040
4141.. tabs::
4242
43- .. tab:: Amazon KMS
43+ .. tab:: Amazon Web Services KMS
4444 :tabid: aws-kms
4545
46- .. include:: /includes/steps/aws-kms.rst
46+ .. include:: /includes/steps/createkey- aws-kms.rst
4747
4848 .. tab:: Azure Key Vault
4949 :tabid: azure-vault
5050
51- .. include:: /includes/steps/azure-vault.rst
51+ .. include:: /includes/steps/createkey- azure-vault.rst
5252
5353 .. tab:: Google Cloud KMS
5454 :tabid: gcp-kms
5555
56- .. include:: /includes/steps/gcp-kms.rst
56+ .. include:: /includes/steps/createkey- gcp-kms.rst
5757
5858 .. tab:: Local Keyfile
5959 :tabid: local-keyfile
6060
61- .. include:: /includes/steps/local-keyfile.rst
61+ .. include:: /includes/steps/createkey- local-keyfile.rst
6262
6363.. seealso::
6464
Original file line number Diff line number Diff line change @@ -89,16 +89,29 @@ content: |
8989
9090 keyVault.createKey(
9191 "aws",
92- { region: "regionname", key: "awsarn" }
92+ { region: "regionname", key: "awsarn" },
93+ [ "keyAlternateName" ]
9394 )
9495
9596 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.
102115
103116 .. include:: /includes/fact-getkey-options.rst
104117 ...
Original file line number Diff line number Diff line change @@ -88,14 +88,28 @@ content: |
8888
8989 keyVault.createKey(
9090 "azure",
91- { keyName: "keyvaultname", keyVaultEndpoint: "endpointname" }
91+ { keyName: "keyvaultname", keyVaultEndpoint: "endpointname" },
92+ [ "keyAlternateName" ]
9293 )
9394
9495 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:
95101
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.
99113
100114 .. include:: /includes/fact-getkey-options.rst
101115 ...
Original file line number Diff line number Diff line change @@ -91,18 +91,31 @@ content: |
9191 location: "locationname",
9292 keyRing: "keyringname",
9393 keyName: "keyname"
94- }
94+ },
95+ [ "keyAlternateName" ]
9596 )
9697
9798 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.
106119
107120 .. include:: /includes/fact-getkey-options.rst
108121 ...
Original file line number Diff line number Diff line change @@ -94,8 +94,20 @@ content: |
9494
9595 keyVault.createKey(
9696 "local",
97- ["keyAltName" ]
97+ [ "keyAlternateName" ]
9898 )
9999
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+
100112 .. include:: /includes/fact-getkey-options.rst
101113 ...
You can’t perform that action at this time.
0 commit comments