Skip to content

Commit 17b9ebc

Browse files
committed
cdktf: update r/sentinel_policy.html.markdown,r/saml_settings.html.markdown,r/run_trigger.html.markdown,r/registry_module.html.markdown,r/registry_gpg_key.html.markdown,r/project_variable_set.html.markdown,r/project_policy_set.html.markdown,r/project.html.markdown,r/policy_set_parameter.html.markdown,r/policy_set.html.markdown
1 parent d902196 commit 17b9ebc

File tree

2 files changed

+121
-0
lines changed

2 files changed

+121
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
layout: "tfe"
3+
page_title: "Terraform Enterprise: tfe_registry_gpg_key"
4+
description: |-
5+
Manages private registry GPG keys.
6+
---
7+
8+
9+
<!-- Please do not edit this file, it is generated. -->
10+
# tfe_registry_gpg_key
11+
12+
Manages a public key of the GPG key pair used to sign releases of private providers in the private registry.
13+
14+
The provided GPG key must be ASCII-armored, i.e. starting with:
15+
"`-----BEGIN PGP PUBLIC KEY BLOCK-----\n\n...`".
16+
17+
## Example Usage
18+
19+
```python
20+
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
21+
from constructs import Construct
22+
from cdktf import Fn, TerraformStack
23+
#
24+
# Provider bindings are generated by running `cdktf get`.
25+
# See https://cdk.tf/provider-generation for more details.
26+
#
27+
from imports.tfe. import RegistryGpgKey
28+
class MyConvertedCode(TerraformStack):
29+
def __init__(self, scope, name):
30+
super().__init__(scope, name)
31+
RegistryGpgKey(self, "example",
32+
ascii_armor=Fn.file("my-public-key.asc"),
33+
organization="my-org-name"
34+
)
35+
```
36+
37+
## Argument Reference
38+
39+
The following arguments are supported:
40+
41+
* `ascii_armor` - (Required) ASCII-armored representation of the GPG key.
42+
* `organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.
43+
44+
## Attributes Reference
45+
46+
* `id` - ID of the GPG key.
47+
* `created_at` - The time when the GPG key was created.
48+
* `updated_at` - The time when the GPG key was last updated.
49+
50+
## Import
51+
52+
Keys can be imported; use `<ORGANIZATION NAME>/<KEY ID>` as the import ID. For
53+
example:
54+
55+
```shell
56+
terraform import tfe_registry_gpg_key.example my-org-name/34365D9472D7468F
57+
```
58+
59+
<!-- cache-key: cdktf-0.19.0 input-730b5a234f42b288032d37e5a9ddea76c748a891a6ac2df444a35f192edf1bc4 -->
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
layout: "tfe"
3+
page_title: "Terraform Enterprise: tfe_registry_gpg_key"
4+
description: |-
5+
Manages private registry GPG keys.
6+
---
7+
8+
9+
<!-- Please do not edit this file, it is generated. -->
10+
# tfe_registry_gpg_key
11+
12+
Manages a public key of the GPG key pair used to sign releases of private providers in the private registry.
13+
14+
The provided GPG key must be ASCII-armored, i.e. starting with:
15+
"`-----BEGIN PGP PUBLIC KEY BLOCK-----\n\n...`".
16+
17+
## Example Usage
18+
19+
```typescript
20+
// DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
21+
import { Construct } from "constructs";
22+
import { Fn, TerraformStack } from "cdktf";
23+
/*
24+
* Provider bindings are generated by running `cdktf get`.
25+
* See https://cdk.tf/provider-generation for more details.
26+
*/
27+
import { RegistryGpgKey } from "./.gen/providers/tfe/";
28+
class MyConvertedCode extends TerraformStack {
29+
constructor(scope: Construct, name: string) {
30+
super(scope, name);
31+
new RegistryGpgKey(this, "example", {
32+
ascii_armor: Fn.file("my-public-key.asc"),
33+
organization: "my-org-name",
34+
});
35+
}
36+
}
37+
38+
```
39+
40+
## Argument Reference
41+
42+
The following arguments are supported:
43+
44+
* `asciiArmor` - (Required) ASCII-armored representation of the GPG key.
45+
* `organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.
46+
47+
## Attributes Reference
48+
49+
* `id` - ID of the GPG key.
50+
* `createdAt` - The time when the GPG key was created.
51+
* `updatedAt` - The time when the GPG key was last updated.
52+
53+
## Import
54+
55+
Keys can be imported; use `<ORGANIZATION NAME>/<KEY ID>` as the import ID. For
56+
example:
57+
58+
```shell
59+
terraform import tfe_registry_gpg_key.example my-org-name/34365D9472D7468F
60+
```
61+
62+
<!-- cache-key: cdktf-0.19.0 input-730b5a234f42b288032d37e5a9ddea76c748a891a6ac2df444a35f192edf1bc4 -->

0 commit comments

Comments
 (0)