Browse Source

docs(ibm): add note for the /api suffix

The /api suffix must not be used in the provider url.
Moritz Johner 4 years ago
parent
commit
9496f415f8
2 changed files with 4 additions and 3 deletions
  1. 3 2
      docs/provider-ibm-secrets-manager.md
  2. 1 1
      docs/snippets/ibm-secret-store.yaml

+ 3 - 2
docs/provider-ibm-secrets-manager.md

@@ -41,8 +41,9 @@ Be sure the `ibm` provider is listed in the `Kind=SecretStore`
 {% include 'ibm-secret-store.yaml' %}
 {% include 'ibm-secret-store.yaml' %}
 ```
 ```
 
 
-To find your serviceURL, under your Secrets Manager resource, go to "Endpoints" on the left:
-
+To find your serviceURL, under your Secrets Manager resource, go to "Endpoints" on the left.
+Note: Use the url without the `/api` suffix that is presented in the UI.
+See here for a list of [publicly available endpoints](https://cloud.ibm.com/apidocs/secrets-manager#getting-started-endpoints).
 
 
 ![iam-create-success](./pictures/screenshot_service_url.png)
 ![iam-create-success](./pictures/screenshot_service_url.png)
 
 

+ 1 - 1
docs/snippets/ibm-secret-store.yaml

@@ -5,9 +5,9 @@ metadata:
 spec:
 spec:
   provider:
   provider:
     ibm:
     ibm:
+      serviceUrl: "https://SECRETS_MANAGER_ID.REGION.secrets-manager.appdomain.cloud"
       auth:
       auth:
         secretRef:
         secretRef:
           secretApiKeySecretRef:
           secretApiKeySecretRef:
             name: ibm-secret
             name: ibm-secret
             key: apiKey
             key: apiKey
-      serviceUrl: "https://SECRETS_MANAGER_ID.REGION.secrets-manager.appdomain.cloud"