Skip to content

Commit 505aa6e

Browse files
committed
change ordering
1 parent 37d9e92 commit 505aa6e

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

docs/configuration.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -173,23 +173,6 @@ spec:
173173
mutualTLSSecretRef:
174174
name: temporal-cloud-mtls # Optional: for mTLS
175175
```
176-
177-
**Using API Key Authentication:**
178-
179-
```yaml
180-
apiVersion: temporal.io/v1alpha1
181-
kind: TemporalConnection
182-
metadata:
183-
name: production-temporal
184-
spec:
185-
hostPort: "production.abc123.tmprl.cloud:7233"
186-
apiKeySecretRef:
187-
name: temporal-api-key # Name of the Secret
188-
key: api-key # Key within the Secret containing the API key token
189-
```
190-
191-
#### Creating Authentication Secrets
192-
193176
**Creating an mTLS Secret:**
194177

195178
The mTLS secret must be of type `kubernetes.io/tls` and contain `tls.crt` (certificate) and `tls.key` (private key) keys.
@@ -245,6 +228,20 @@ cat private-key.key | base64 -w 0
245228

246229
</details>
247230

231+
**Using API Key Authentication:**
232+
233+
```yaml
234+
apiVersion: temporal.io/v1alpha1
235+
kind: TemporalConnection
236+
metadata:
237+
name: production-temporal
238+
spec:
239+
hostPort: "production.abc123.tmprl.cloud:7233"
240+
apiKeySecretRef:
241+
name: temporal-api-key # Name of the Secret
242+
key: api-key # Key within the Secret containing the API key token
243+
```
244+
248245
**Creating an API Key Secret:**
249246

250247
The API key secret must be of type `kubernetes.io/opaque` (or you can omit the type field). The API key token should be stored under a key of your choice.

0 commit comments

Comments
 (0)