Skip to content

Commit dbf088a

Browse files
authored
Updated config example (#42)
* update config example * updated config.spec
1 parent f412e94 commit dbf088a

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,17 @@ include the following:
6969

7070
Sample configuration using OAuth client credentials:
7171

72-
[default]
73-
host = azure.relationalai.com
74-
port = <api-port> # optional, default: 443
75-
scheme = <scheme> # optional, default: https
76-
client_id = <your client_id>
77-
client_secret = <your client secret>
78-
client_credentials_url = <account login URL> # optional
79-
# default: https://login.relationalai.com/oauth/token
72+
```conf
73+
[default]
74+
host = azure.relationalai.com
75+
client_id = <your client_id>
76+
client_secret = <your client secret>
77+
78+
# the following are all optional, with default values shown
79+
# port = 443
80+
# scheme = https
81+
# client_credentials_url = https://login.relationalai.com/oauth/token
82+
```
8083

8184
Client credentials can be created using the RAI console at
8285
https://console.relationalai.com/login

config.spec

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[default]
2-
region = us-east
32
host = azure.relationalai.com
4-
port = 443
5-
client_id = <client-id>
6-
client_secret = <client-secret>
7-
#client_credentials_url = https://login.relationalai.com/oauth/token
3+
client_id = <your client_id>
4+
client_secret = <your client secret>
85

6+
# the following are all optional, with default values shown
7+
# port = 443
8+
# scheme = https
9+
# client_credentials_url = https://login.relationalai.com/oauth/token

0 commit comments

Comments
 (0)