Skip to content

Commit 6e42996

Browse files
committed
Add doc info on certPath for Service Principal with Certificate
1 parent 7ad2b68 commit 6e42996

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/book/src/topics/identities.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,24 @@ data:
125125
password: PASSWORD
126126
```
127127

128+
Alternatively, the path to a certificate can be specified instead of the k8s secret:
129+
130+
```yaml
131+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
132+
kind: AzureClusterIdentity
133+
metadata:
134+
name: example-identity
135+
namespace: default
136+
spec:
137+
type: ServicePrincipalCertificate
138+
tenantID: <azure-tenant-id>
139+
clientID: <client-id-of-SP-identity>
140+
certPath: <path-to-the-cert>
141+
allowedNamespaces:
142+
list:
143+
- <cluster-namespace>
144+
```
145+
128146
## User-Assigned Managed Identity
129147

130148
<aside class="note">

0 commit comments

Comments
 (0)