File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,13 @@ Use the following Resource Manager template to create and set the secret value.
122
122
123
123
Use the following script to use the REST API to set the secret value.
124
124
```powershell
125
- $Params = @ {"properties": {"value": "mysecretpassword" }}
125
+ $Params = ' {"properties": {"value": "mysecretpassword" }}'
126
126
Invoke-WebRequest -Uri https://<clusterfqdn>:19080/Resources/Secrets/supersecret/values/ver1?api-version=6.4-preview -Method PUT -Body $Params -CertificateThumbprint <ClusterCertThumbprint>
127
127
```
128
+ ### Examine the secret value
129
+ ``` powershell
130
+ Invoke-WebRequest -CertificateThumbprint <ClusterCertThumbprint> -Method POST -Uri "https:<clusterfqdn>/Resources/Secrets/supersecret/values/ver1/list_value?api-version=6.4-preview"
131
+ ```
128
132
## Use the secret in your application
129
133
130
134
Follow these steps to use the secret in your Service Fabric application.
You can’t perform that action at this time.
0 commit comments