Skip to content

Commit 5fe50cd

Browse files
authored
Merge pull request #11 from ianmcook/connection-profiles
feat: add ADBC connection profiles recipe
2 parents e241ac3 + 024b9d0 commit 5fe50cd

7 files changed

Lines changed: 831 additions & 4 deletions

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
profile_version = 1
2+
driver = "flightsql"
3+
4+
[Options]
5+
# Connection
6+
uri = "grpc+tcp://localhost:31337"
7+
username = "gizmosql_user"
8+
password = "{{ env_var(GIZMOSQL_PASSWORD) }}"
9+
10+
# TLS/SSL
11+
"adbc.flight.sql.client_option.tls_skip_verify" = false
12+
# "adbc.flight.sql.client_option.tls_root_certs" = ""
13+
# "adbc.flight.sql.client_option.tls_override_hostname" = ""
14+
15+
# Mutual TLS (mTLS)
16+
# "adbc.flight.sql.client_option.mtls_cert_chain" = ""
17+
# "adbc.flight.sql.client_option.mtls_private_key" = ""
18+
19+
# Authority
20+
# "adbc.flight.sql.client_option.authority" = ""
21+
22+
# Timeouts (seconds; uncomment and set to enable)
23+
# "adbc.flight.sql.rpc.timeout_seconds.fetch" = ""
24+
# "adbc.flight.sql.rpc.timeout_seconds.query" = ""
25+
# "adbc.flight.sql.rpc.timeout_seconds.update" = ""
26+
27+
# Connection behavior
28+
"adbc.flight.sql.client_option.with_block" = false
29+
"adbc.flight.sql.rpc.with_cookie_middleware" = false
30+
# "adbc.flight.sql.client_option.with_max_msg_size" = ""
31+
32+
# OAuth 2.0 (alternative to username/password; uncomment to use)
33+
# "adbc.flight.sql.authorization_header" = "Bearer <token>"
34+
# "adbc.flight.sql.oauth.flow" = ""
35+
# "adbc.flight.sql.oauth.client_id" = ""
36+
# "adbc.flight.sql.oauth.client_secret" = ""
37+
# "adbc.flight.sql.oauth.token_uri" = ""
38+
# "adbc.flight.sql.oauth.auth_uri" = ""
39+
# "adbc.flight.sql.oauth.redirect_uri" = ""
40+
# "adbc.flight.sql.oauth.scope" = ""
41+
# "adbc.flight.sql.oauth.exchange.subject_token" = ""
42+
# "adbc.flight.sql.oauth.exchange.subject_token_type" = ""
43+
# "adbc.flight.sql.oauth.exchange.actor_token" = ""
44+
# "adbc.flight.sql.oauth.exchange.actor_token_type" = ""
45+
# "adbc.flight.sql.oauth.exchange.requested_token_type" = ""
46+
# "adbc.flight.sql.oauth.exchange.aud" = ""
47+
# "adbc.flight.sql.oauth.exchange.resource" = ""
48+
# "adbc.flight.sql.oauth.exchange.scope" = ""
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
profile_version = 1
2+
driver = "flightsql"
3+
4+
[Options]
5+
# Connection
6+
uri = "grpc+tcp://localhost:31338"
7+
username = "gizmosql_user"
8+
password = "{{ env_var(GIZMOSQL_PASSWORD) }}"
9+
10+
# TLS/SSL
11+
"adbc.flight.sql.client_option.tls_skip_verify" = false
12+
# "adbc.flight.sql.client_option.tls_root_certs" = ""
13+
# "adbc.flight.sql.client_option.tls_override_hostname" = ""
14+
15+
# Mutual TLS (mTLS)
16+
# "adbc.flight.sql.client_option.mtls_cert_chain" = ""
17+
# "adbc.flight.sql.client_option.mtls_private_key" = ""
18+
19+
# Authority
20+
# "adbc.flight.sql.client_option.authority" = ""
21+
22+
# Timeouts (seconds; uncomment and set to enable)
23+
# "adbc.flight.sql.rpc.timeout_seconds.fetch" = ""
24+
# "adbc.flight.sql.rpc.timeout_seconds.query" = ""
25+
# "adbc.flight.sql.rpc.timeout_seconds.update" = ""
26+
27+
# Connection behavior
28+
"adbc.flight.sql.client_option.with_block" = false
29+
"adbc.flight.sql.rpc.with_cookie_middleware" = false
30+
# "adbc.flight.sql.client_option.with_max_msg_size" = ""
31+
32+
# OAuth 2.0 (alternative to username/password; uncomment to use)
33+
# "adbc.flight.sql.authorization_header" = "Bearer <token>"
34+
# "adbc.flight.sql.oauth.flow" = ""
35+
# "adbc.flight.sql.oauth.client_id" = ""
36+
# "adbc.flight.sql.oauth.client_secret" = ""
37+
# "adbc.flight.sql.oauth.token_uri" = ""
38+
# "adbc.flight.sql.oauth.auth_uri" = ""
39+
# "adbc.flight.sql.oauth.redirect_uri" = ""
40+
# "adbc.flight.sql.oauth.scope" = ""
41+
# "adbc.flight.sql.oauth.exchange.subject_token" = ""
42+
# "adbc.flight.sql.oauth.exchange.subject_token_type" = ""
43+
# "adbc.flight.sql.oauth.exchange.actor_token" = ""
44+
# "adbc.flight.sql.oauth.exchange.actor_token_type" = ""
45+
# "adbc.flight.sql.oauth.exchange.requested_token_type" = ""
46+
# "adbc.flight.sql.oauth.exchange.aud" = ""
47+
# "adbc.flight.sql.oauth.exchange.resource" = ""
48+
# "adbc.flight.sql.oauth.exchange.scope" = ""

0 commit comments

Comments
 (0)