From 37f4fdcc1f78c77dd20e3a66c4e438b5ed09a5f2 Mon Sep 17 00:00:00 2001 From: Steve Siani Date: Tue, 6 Aug 2019 17:59:20 -0400 Subject: Vault Client Rest API implementation for sensitive data Issue-ID: CCSDK-1597 Signed-off-by: Steve Siani Change-Id: I81bf24d0dd0a12b0bb3a038647773900ad80e7fd --- .../starter-dictionary/vault-secrets.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json (limited to 'components') 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 ", + "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 -- cgit 1.2.3-korg