Skip to content

Commit 95151ec

Browse files
author
Tijoy Tom
committed
more corrections
1 parent 1187a0d commit 95151ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/service-fabric/service-fabric-application-secret-store.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,13 @@ Use the following Resource Manager template to create and set the secret value.
122122

123123
Use the following script to use the REST API to set the secret value.
124124
```powershell
125-
$Params = @{"properties": {"value": "mysecretpassword"}}
125+
$Params = '{"properties": {"value": "mysecretpassword"}}'
126126
Invoke-WebRequest -Uri https://<clusterfqdn>:19080/Resources/Secrets/supersecret/values/ver1?api-version=6.4-preview -Method PUT -Body $Params -CertificateThumbprint <ClusterCertThumbprint>
127127
```
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+
```
128132
## Use the secret in your application
129133

130134
Follow these steps to use the secret in your Service Fabric application.

0 commit comments

Comments
 (0)