You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/d/kms_key_handle.html.markdown
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,16 @@ description: |-
6
6
7
7
# google_kms_key_handle
8
8
9
-
Provides access to Google Cloud Platform KMS KeyHandle. For more information see
9
+
Provides access to Google Cloud Platform KMS KeyHandle. A key handle is a Cloud KMS resource that helps you safely span the separation of duties to create new Cloud KMS keys for CMEK using Autokey.
10
+
11
+
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
12
+
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.
13
+
14
+
For more information see
10
15
[the official documentation](https://cloud.google.com/kms/docs/resource-hierarchy#key_handles)
A key handle is a Cloud KMS resource that helps you safely span the separation of duties to create new Cloud KMS keys for CMEK using Autokey.
15
19
16
20
## Example Usage
17
21
@@ -42,4 +46,14 @@ The following arguments are supported:
42
46
In addition to the arguments listed above, the following computed attributes are
43
47
exported:
44
48
45
-
*`id` - The identifier of the created KeyHandle. Its format is `projects/{projectId}/locations/{location}/keyHandles/{keyHandleName}`.
49
+
*`id` - The identifier of the KeyHandle. Its format is `projects/{projectId}/locations/{location}/keyHandles/{keyHandleName}`.
50
+
51
+
*`kms_key` - The identifier of the KMS Key created for the KeyHandle. Its format is `projects/{projectId}/locations/{location}/keyRings/{keyRingName}/cryptoKeys/{cryptoKeyName}`.
52
+
53
+
*`location` - The location of the KMS Key and KeyHandle.
54
+
55
+
*`project` - The identifier of the project where KMS KeyHandle is created.
56
+
57
+
*`resource_type_selector` - Indicates the resource type that the resulting CryptoKey is meant to protect, e.g. {SERVICE}.googleapis.com/{TYPE}. See documentation for supported resource types.
0 commit comments