diff options
Diffstat (limited to 'components/model-catalog/resource-dictionary/starter-dictionary')
-rw-r--r-- | components/model-catalog/resource-dictionary/starter-dictionary/vault-secrets.json | 36 |
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 |