Skip to content

Commit 3318731

Browse files
authored
Updated config example (#128)
* update config example * updated config.spec file
1 parent 3be5257 commit 3318731

File tree

2 files changed

+11
-24
lines changed

2 files changed

+11
-24
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@ Sample configuration using OAuth client credentials:
5757
```conf
5858
[default]
5959
host = azure.relationalai.com
60-
port = <api-port> # optional, default: 443
61-
scheme = <scheme> # optional, default: https
6260
client_id = <your client_id>
6361
client_secret = <your client secret>
64-
client_credentials_url = <account login URL> # optional
65-
# default: https://login.relationalai.com/oauth/token
62+
63+
# the following are all optional, with default values shown
64+
# port = 443
65+
# scheme = https
66+
# client_credentials_url = https://login.relationalai.com/oauth/token
6667
```
6768

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

config.spec

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

10-
# using API access key (deprecated)
11-
[default-accesskey]
12-
region = us-east
13-
host = azure.relationalai.com
14-
port = 443
15-
access_key = <your public access key>
16-
private_key_filename = <name of file containing private key>
17-
18-
[local]
19-
scheme = http
20-
host = 127.0.0.1
21-
port = 8010
22-
access_key = <your public access key>
23-
private_key_filename = <name of file containing private key>
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)