batch-shipyard/schemas/credentials.yaml

240 строки
5.8 KiB
YAML

desc: Global Configuration Schema
type: map
mapping:
credentials:
type: map
required: true
mapping:
aad:
type: map
mapping:
authority_url:
type: str
directory_id:
type: str
application_id:
type: str
auth_key:
type: str
rsa_private_key_pem:
type: str
x509_cert_sha1_thumbprint:
type: str
user:
type: str
password:
type: str
batch:
type: map
mapping:
aad:
type: map
mapping:
authority_url:
type: str
endpoint:
type: str
directory_id:
type: str
application_id:
type: str
auth_key:
type: str
rsa_private_key_pem:
type: str
x509_cert_sha1_thumbprint:
type: str
user:
type: str
password:
type: str
token_cache:
type: map
mapping:
enabled:
type: bool
filename:
type: str
account_key:
type: str
account_key_keyvault_secret_id:
type: str
account_service_url:
type: str
test_cluster:
type: bool
resource_group:
type: str
application_insights:
type: map
mapping:
application_id:
type: str
required: true
instrumentation_key:
type: str
required: true
storage:
type: map
mapping:
aad:
type: map
mapping:
authority_url:
type: str
endpoint:
type: str
directory_id:
type: str
application_id:
type: str
auth_key:
type: str
rsa_private_key_pem:
type: str
x509_cert_sha1_thumbprint:
type: str
user:
type: str
password:
type: str
token_cache:
type: map
mapping:
enabled:
type: bool
filename:
type: str
regex;(^(?!aad$)[a-zA-Z0-9]+):
type: map
mapping:
account:
type: str
required: true
account_key:
type: str
account_key_keyvault_secret_id:
type: str
endpoint:
type: str
resource_group:
type: str
docker_registry:
type: map
mapping:
regex;([a-zA-Z0-9.]+):
type: map
mapping:
username:
type: str
required: true
password:
type: str
password_keyvault_secret_id:
type: str
singularity_registry:
type: map
mapping:
regex;([a-zA-Z0-9.]+):
type: map
mapping:
username:
type: str
required: true
password:
type: str
password_keyvault_secret_id:
type: str
management:
type: map
mapping:
aad:
type: map
mapping:
authority_url:
type: str
endpoint:
type: str
directory_id:
type: str
application_id:
type: str
auth_key:
type: str
rsa_private_key_pem:
type: str
x509_cert_sha1_thumbprint:
type: str
user:
type: str
password:
type: str
token_cache:
type: map
mapping:
enabled:
type: bool
filename:
type: str
subscription_id:
type: str
keyvault:
type: map
mapping:
aad:
type: map
mapping:
authority_url:
type: str
endpoint:
type: str
directory_id:
type: str
application_id:
type: str
auth_key:
type: str
rsa_private_key_pem:
type: str
x509_cert_sha1_thumbprint:
type: str
user:
type: str
password:
type: str
token_cache:
type: map
mapping:
enabled:
type: bool
filename:
type: str
credentials_secret_id:
type: str
uri:
type: str
monitoring:
type: map
mapping:
grafana:
type: map
mapping:
admin:
type: map
required: true
mapping:
username:
type: str
required: true
password:
type: str
password_keyvault_secret_id:
type: str
slurm:
type: map
mapping:
db_password:
type: text
required: true