Some checks failed
CI / Run lints and checks (push) Failing after 47s
CI / Run tests (push) Failing after 1s
CI / Run race tests (push) Failing after 5s
CI / Build CLI docs (push) Has been skipped
CI / Run buf actions (push) Failing after 5s
CodeQL / Analyze (go) (push) Failing after 3s
CodeQL / Analyze (javascript) (push) Failing after 2s
Docker Image Scanners / scanners (push) Failing after 3s
Format / format (push) Failing after 3s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Draft newsletter (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"$id": "https://raw.githubusercontent.com/ory/x/master/.schemas/tlsx/viper.schema.json",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "HTTPS",
|
|
"description": "Configure HTTP over TLS (HTTPS). All options can also be set using environment variables by replacing dots (`.`) with underscores (`_`) and uppercasing the key. For example, `some.prefix.tls.key.path` becomes `export SOME_PREFIX_TLS_KEY_PATH`. If all keys are left undefined, TLS will be disabled.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"definitions": {
|
|
"source": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"path": {
|
|
"title": "Path to PEM-encoded Fle",
|
|
"type": "string",
|
|
"examples": ["path/to/file.pem"]
|
|
},
|
|
"base64": {
|
|
"title": "Base64 Encoded Inline",
|
|
"description": "The base64 string of the PEM-encoded file content. Can be generated using for example `base64 -i path/to/file.pem`.",
|
|
"type": "string",
|
|
"examples": [
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tXG5NSUlEWlRDQ0FrMmdBd0lCQWdJRVY1eE90REFOQmdr..."
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"properties": {
|
|
"key": {
|
|
"title": "Private Key (PEM)",
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/source"
|
|
}
|
|
]
|
|
},
|
|
"cert": {
|
|
"title": "TLS Certificate (PEM)",
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/source"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|