Skip to content

Commit c2015b3

Browse files
authored
Merge pull request #5 from keboola/feature/key-pair-authentication
Feature/key pair authentication
2 parents 8507f55 + de11277 commit c2015b3

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ Example Configuration
100100
```json
101101
{
102102
"auth_type": "password",
103+
"account": "xy12345.eu-central-1",
103104
"username": "MANAGE_PRJ",
104105
"#password": "your-password",
105-
"account": "xy12345.eu-central-1",
106106
"warehouse": "KEBOOLA_WAREHOUSE",
107107
"role": "MANAGE_ROLE",
108108
"db_name_prefix": "KEBOOLA_"
@@ -113,10 +113,10 @@ For key pair authentication:
113113
```json
114114
{
115115
"auth_type": "key_pair",
116+
"account": "xy12345.eu-central-1",
116117
"username": "MANAGE_PRJ",
117118
"#private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",
118119
"#private_key_pass": "optional-passphrase",
119-
"account": "xy12345.eu-central-1",
120120
"warehouse": "KEBOOLA_WAREHOUSE",
121121
"role": "MANAGE_ROLE",
122122
"db_name_prefix": "KEBOOLA_"

component_config/configSchema.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,16 @@
3131
},
3232
"propertyOrder": 110
3333
},
34+
"account": {
35+
"type": "string",
36+
"title": "Account",
37+
"description": "Snowflake account, e.g. cID.eu-central-1",
38+
"propertyOrder": 120
39+
},
3440
"username": {
3541
"type": "string",
3642
"title": "User Name",
37-
"propertyOrder": 120
43+
"propertyOrder": 130
3844
},
3945
"#password": {
4046
"type": "string",
@@ -45,7 +51,7 @@
4551
"auth_type": "password"
4652
}
4753
},
48-
"propertyOrder": 130
54+
"propertyOrder": 140
4955
},
5056
"#private_key": {
5157
"title": "Private Key",
@@ -57,7 +63,7 @@
5763
"auth_type": "key_pair"
5864
}
5965
},
60-
"propertyOrder": 140
66+
"propertyOrder": 150
6167
},
6268
"#private_key_pass": {
6369
"title": "Private Key Passphrase",
@@ -69,32 +75,26 @@
6975
"auth_type": "key_pair"
7076
}
7177
},
72-
"propertyOrder": 150
73-
},
74-
"account": {
75-
"type": "string",
76-
"title": "Account",
77-
"description": "Snowflake account, e.g. cID.eu-central-1",
78-
"propertyOrder": 160
78+
"propertyOrder": 160
7979
},
8080
"warehouse": {
8181
"type": "string",
8282
"title": "Warehouse",
8383
"description": "Snowflake Warehouse name",
84-
"propertyOrder": 170
84+
"propertyOrder": 180
8585
},
8686
"role": {
8787
"type": "string",
8888
"title": "Role",
8989
"description": "Snowflake role name. If emtpy, default role will be used.",
90-
"propertyOrder": 180
90+
"propertyOrder": 190
9191
},
9292
"db_name_prefix": {
9393
"type": "string",
9494
"title": "DB Name Prefix",
9595
"default": "KEBOOLA_",
9696
"description": "Keboola generated DB names are formed as {PREFIX}{PROJECT_ID}. The prefixes can differ based on BYODB deployment setup. Typically KEBOOLA_ or SAPI_",
97-
"propertyOrder": 190
97+
"propertyOrder": 200
9898
},
9999
"test_connection": {
100100
"type": "button",
@@ -105,7 +105,7 @@
105105
"action": "testConnection"
106106
}
107107
},
108-
"propertyOrder": 200
108+
"propertyOrder": 210
109109
}
110110
}
111111
}

0 commit comments

Comments
 (0)