Skip to content

Commit 49d4a3a

Browse files
Added website docs for hyok data sources
1 parent 5a1c9b2 commit 49d4a3a

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: "tfe"
3+
page_title: "Terraform Enterprise: tfe_agent_pool"
4+
description: |-
5+
Get information on an agent pool.
6+
---
7+
8+
# Data Source: tfe_hyok_customer_key_version
9+
10+
Use this data source to get information about a Hold Your Own Keys (HYOK) customer key version.
11+
12+
## Example Usage
13+
14+
```hcl
15+
data "tfe_hyok_customer_key_version" "tfe_hyok_customer_key_version1" {
16+
id = "keyv-<your-id>"
17+
}
18+
```
19+
20+
## Argument Reference
21+
22+
The following arguments are supported:
23+
24+
* `id` - (Required) The ID of the HYOK customer key version.
25+
26+
## Attributes Reference
27+
28+
In addition to all arguments above, the following attributes are exported:
29+
30+
* `created_at` - The time when the customer key version was created.
31+
* `error` - Any error message associated with the customer key version.
32+
* `id` - The ID of the customer key version.
33+
* `key_version` - The version number of the customer key.
34+
* `revoked_at` - The time when the customer key version was revoked.
35+
* `status` - The status of the customer key version.
36+
* `updated_at` - The time when the customer key version was last updated.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: "tfe"
3+
page_title: "Terraform Enterprise: tfe_agent_pool"
4+
description: |-
5+
Get information on an agent pool.
6+
---
7+
8+
# Data Source: tfe_hyok_encrypted_data_key
9+
10+
Use this data source to get information about a Hold Your Own Keys (HYOK) encrypted data key.
11+
12+
## Example Usage
13+
14+
```hcl
15+
data "tfe_hyok_encrypted_data_key" "tfe_hyok_encrypted_data_key1" {
16+
id = "dek-<your-id>"
17+
}
18+
```
19+
20+
## Argument Reference
21+
22+
The following arguments are supported:
23+
24+
* `id` - (Required) The ID of the HYOK encrypted data key.
25+
26+
## Attributes Reference
27+
28+
In addition to all arguments above, the following attributes are exported:
29+
30+
* `created_at` - The time when the encrypted data key was created.
31+
* `customer_key_name` - The name of the customer key used to encrypt the data key.
32+
* `encrypted_dek` - The encrypted data encryption key (DEK).
33+
* `id` - The ID of the encrypted data key.

0 commit comments

Comments
 (0)