Modified based on the review comments - 1

This commit is contained in:
Amulya Varote 2021-12-02 01:07:23 -08:00
parent 22104085f9
commit dde92676b6
1 changed files with 1 additions and 7 deletions

View File

@ -41,7 +41,7 @@ spec:
version: v1
metadata:
- name: secretsFile
value: secrets.json
value: secrets.json //path to secrets file
- name: nestedSeparator
value: ":"
```
@ -199,12 +199,6 @@ with DaprClient() as client:
secret = client.get_bulk_secret(store_name=DAPR_STORE_NAME)
logging.info('Result for bulk secret: ')
logging.info(sorted(secret.secrets.items()))
try:
secret = client.get_secret(store_name=DAPR_STORE_NAME, key=key)
logging.info('Result for random key: ')
logging.info(secret.secret)
except:
print("Got error for accessing key")
```
{{% /codetab %}}