summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json
blob: c8d3db2a08d0d961bd299d34b2fe4d78e2012009 (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
37
{
  "tags": "vault-secrets",
  "name": "vault-secrets",
  "group":"default",
  "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"
        ]
      }
    }
  }
}