-
-
Save tailhook/bb64fc0fa67a5981876d3646cfc326c7 to your computer and use it in GitHub Desktop.
Credentials schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://edgedb.com/schemas/credentials.json", | |
"title": "Credentials file for EdgeDB clients", | |
"description": "This data used for connecting to EdgeDB database, contains authentication data and connection data", | |
"type": "object", | |
"properties": { | |
"host": { | |
"description": "Host to connect to. If omitted, most implementations consider localhost by default, but can be overriden", | |
"type": "string" | |
}, | |
"port": { | |
"description": "Port to connect to (default is 5656)", | |
"type": "integer", | |
"minumum": 1, | |
"maximum": 65535 | |
}, | |
"database": { | |
"description": "Default database to connect to", | |
"type": "string" | |
}, | |
"user": { | |
"description": "User name to use for authentication", | |
"type": "string" | |
}, | |
"password": { | |
"description": "Password to use for authentication", | |
"type": "string" | |
}, | |
}, | |
"required": [ "user" ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment