aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-09-17 16:04:43 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-17 16:04:43 +0000
commit32c5d312aaf018071276488edd8949fbf593570e (patch)
tree9ea2b88d6595f126dfa4e7025a4212d01dc70ede /components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json
parent3728cb73b0bebe9e7cbf1543c395302e26562f8e (diff)
parent37f4fdcc1f78c77dd20e3a66c4e438b5ed09a5f2 (diff)
Merge "Vault Client Rest API implementation for sensitive data"
Diffstat (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json')
-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