Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit 1f065ad

Browse files
authored
chore(docs): add new env var for ver 0.0.8 or later of IBM Secret Manager (#788)
Export an environment variable with your IBM Secrets Manager service endpoint URL.
1 parent 72cf4c4 commit 1f065ad

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,9 +854,12 @@ The cli option is illustrated below:
854854

855855
```bash
856856
# you need to configure ibm cloud cli with a valid endpoint
857-
export IBM_CLOUD_SECRETS_MANAGER_API_URL=https://{instanceid}.{region}.secrets-manager.appdomain.cloud
858-
ibmcloud secrets-manager secret-create --secret-type username_password \
859-
--metadata '{"collection_type": "application/vnd.ibm.secrets-manager.secret+json", "collection_total": 1}' \
857+
# If you're using plug-in version 0.0.8 or later, export the following variable.
858+
export SECRETS_MANAGER_URL=https://{instanceid}.{region}.secrets-manager.appdomain.cloud
859+
# If you're using plug-in version 0.0.6 or earlier, export the following variable.
860+
export IBM_CLOUD_SECRETS_MANAGER_API_URL=https://{instance_ID}.{region}.secrets-manager.appdomain.cloud
861+
ibmcloud secrets-manager secret-create --secret-type username_password \
862+
--metadata '{"collection_type": "application/vnd.ibm.secrets-manager.secret+json", "collection_total": 1}' \
860863
--resources '[{"name": "example-username-password-secret","description": "Extended description for my secret.","username": "user123","password": "cloudy-rainy-coffee-book"}]'
861864
```
862865

0 commit comments

Comments
 (0)