aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json
blob: 6b4d6a49d60b0a5d547a6fed28cbc75bb6f66824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  "tags": "vault-secrets",
  "name": "vault-secrets",
  "property": {
    "description": "Vault secret resolution with dynamic endpoint-selector",
    "type": "map",
    "entry_schema": {
      "type": "string"
    }
  },
  "updated-by": "Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>",
  "sources": {
    "input": {
      "type": "source-input"
    },
    "vault-data": {
      "type": "source-rest",
      "properties": {
        "endpoint-selector": "dynamic-secret-source",
        "verb": "GET",
        "type": "JSON",
        "url-path": "$secret-path",
        "path": "",
        "input-key-mapping": {
          "secret-path": "secret-path"
        },
        "output-key-mapping": {
          "data": "data"
        },
        "key-dependencies": [
          "secret-path"
        ]
      }
    }
  }
}