-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
metabase-plugin.yaml
65 lines (65 loc) · 1.96 KB
/
metabase-plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
info:
name: Metabase Snowflake Driver
version: 1.0.0-SNAPSHOT-3.12.7
description: Allows Metabase to connect to Snowflake databases.
driver:
name: snowflake
display-name: Snowflake
lazy-load: true
parent: sql-jdbc
connection-properties:
- name: use-hostname
type: section
default: false
- merge:
- host
- visible-if:
use-hostname: true
- name: account
display-name: Account name
helper-text: Enter your Account ID with the region that your Snowflake cluster is running on e.g. "xxxxxxxx.us-east-2.aws". Some regions don't have this suffix.
placeholder: xxxxxxxx.us-east-2.aws
required: true
visible-if:
use-hostname: false
- user
- password
- name: private-key
display-name: RSA private key (PKCS#8/.p8)
type: secret
secret-kind: pem-cert
- name: warehouse
display-name: Warehouse
helper-text: If your user doesn't have a default warehouse, enter the warehouse to connect to.
placeholder: birds_main
required: true
- merge:
- dbname
- name: db
required: true
display-name: Database name (case sensitive)
- name: schema-filters
type: schema-filters
display-name: Schemas
- name: role
display-name: Role (required for connection impersonation)
helper-text: Specify a role to override the database user’s default role.
placeholder: user
- cloud-ip-address-info
- ssh-tunnel
- advanced-options-start
- merge:
- additional-options
- placeholder: 'queryTimeout=0'
- name: quote-db-name
display-name: Quote DB name (to ensure case sensitive matching)
default: false
type: boolean
visible-if:
advanced-options: true
- default-advanced-options
init:
- step: load-namespace
namespace: metabase.driver.snowflake
- step: register-jdbc-driver
class: net.snowflake.client.jdbc.SnowflakeDriver