File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
articles/iot-operations/manage-devices-assets Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ The application instance certificate of the OPC PLC is a self-signed certificate
54
54
55
55
``` bash
56
56
kubectl -n azure-iot-operations get secret aio-opc-ua-opcplc-default-application-cert-000000 -o jsonpath=' {.data.tls\.crt}' | \
57
- xargs -I {} \
57
+ base64 -d | \
58
+ xargs -0 -I {} \
58
59
az keyvault secret set \
59
60
--name " opcplc-crt" \
60
61
--vault-name < azure-key-vault-name> \
61
62
--value {} \
62
- --encoding base64 \
63
63
--content-type application/x-pem-file
64
64
```
65
65
@@ -83,7 +83,6 @@ The application instance certificate of the OPC PLC is a self-signed certificate
83
83
objectName: opcplc-crt
84
84
objectType: secret
85
85
objectAlias: opcplc.crt
86
- objectEncoding: hex
87
86
` ` `
88
87
89
88
The projection of the Azure Key Vault secrets and certificates into the cluster takes some time depending on the configured polling interval.
You can’t perform that action at this time.
0 commit comments