summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-08-06 17:59:20 -0400
committerSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-09-11 17:16:04 -0400
commit37f4fdcc1f78c77dd20e3a66c4e438b5ed09a5f2 (patch)
tree02c5f143fb6ed91d05f9589721701240aa999e76 /components/model-catalog
parent8b24f42bcba5220f72b6977441867f774aca57df (diff)
Vault Client Rest API implementation for sensitive data
Issue-ID: CCSDK-1597 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I81bf24d0dd0a12b0bb3a038647773900ad80e7fd
Diffstat (limited to 'components/model-catalog')
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json b/components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json
new file mode 100644
index 000000000..6b4d6a49d
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json
@@ -0,0 +1,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"
+ ]
+ }
+ }
+ }
+} \ No newline at end of file