diff options
Diffstat (limited to 'app/validators/json_schemas')
-rw-r--r-- | app/validators/json_schemas/build_metadata_secrets.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/validators/json_schemas/build_metadata_secrets.json b/app/validators/json_schemas/build_metadata_secrets.json index 5dcd33a2cf0..ac34af3f107 100644 --- a/app/validators/json_schemas/build_metadata_secrets.json +++ b/app/validators/json_schemas/build_metadata_secrets.json @@ -24,9 +24,30 @@ }, "additionalProperties": false }, + "^azure_key_vault$": { + "type": "object", + "required": ["name"], + "properties": { + "name": { "type": "string" }, + "version": { "type": ["string", "null"] } + }, + "additionalProperties": false + }, "^file$": { "type": "boolean" }, "^token$": { "type": "string" } }, + "anyOf": [ + { + "required": [ + "vault" + ] + }, + { + "required": [ + "azure_key_vault" + ] + } + ], "additionalProperties": false } } |