schema.Auth.json Maven / Gradle / Ivy
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "AuthConfiguration",
"description": "The auth config for accessing azure resources",
"type": "object",
"properties": {
"serverId": {
"description": "The server id defined in maven settings",
"type": "string"
},
"client": {
"description": "Client ID",
"type": "string"
},
"tenant": {
"description": "Tenant ID",
"type": "string"
},
"key": {
"description": "Password",
"type": "string"
},
"certificate": {
"description": "The absolute path of your certificate",
"type": "string"
},
"certificatePassword": {
"description": "The password for your certificate, if there is any",
"type": "string"
},
"environment": {
"description": "The Azure cloud environment",
"type": "string",
"default": "AZURE",
"enum": [
"AZURE",
"AZURE_CHINA",
"AZURE_GERMANY",
"AZURE_US_GOVERNMENT"
]
},
"httpProxyHost": {
"description": "The host name of the proxy server",
"type": "string",
"format": "hostname"
},
"httpProxyPort": {
"description": "The port number of the proxy server, If specified, this must be a valid port number, 0 < x < 65536.",
"oneOf": [
{
"type": "string",
"pattern":"\\d{1,5}"
},
{
"type": "integer",
"minimum": 1,
"maximum": 65535
}
]
}
},
"anyOf": [
{
"required": [
"client",
"tenant",
"key"
]
},
{
"required": [
"client",
"tenant",
"certificate"
]
}
],
"not": {
"required": [
"key",
"certificate"
]
},
"dependencies": {
"certificatePassword": [
"certificate"
]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy