Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwadhwa-openai committed Oct 1, 2024
1 parent 9421f96 commit b8e33fd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/data-sources/namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ output "namespaces" {

Optional:

- `api_key_auth` (Boolean) If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- `certificate_filters` (Attributes List) A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters. (see [below for nested schema](#nestedatt--namespaces--certificate_filters))
- `codec_server` (Attributes) A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted. (see [below for nested schema](#nestedatt--namespaces--codec_server))
- `custom_search_attributes` (Map of String) The custom search attributes to use for the namespace.
Expand Down
8 changes: 8 additions & 0 deletions docs/resources/namespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ resource "temporalcloud_namespace" "terraform2" {
accepted_client_ca = base64encode(tls_self_signed_cert.ca.cert_pem)
retention_days = 14
}
// example namespace that uses API Key for authentication
resource "temporalcloud_namespace" "terraform3" {
name = "terraform3"
regions = ["aws-us-east-1"]
api_key_auth = true
retention_days = 14
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
8 changes: 8 additions & 0 deletions examples/resources/temporalcloud_namespace/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,12 @@ resource "temporalcloud_namespace" "terraform2" {
regions = ["aws-us-east-1"]
accepted_client_ca = base64encode(tls_self_signed_cert.ca.cert_pem)
retention_days = 14
}

// example namespace that uses API Key for authentication
resource "temporalcloud_namespace" "terraform3" {
name = "terraform3"
regions = ["aws-us-east-1"]
api_key_auth = true
retention_days = 14
}

0 comments on commit b8e33fd

Please sign in to comment.