Skip to content

Commit 010da0e

Browse files
authored
source-snowflake: hide oauth option (#38317)
1 parent 91f1862 commit 010da0e

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

airbyte-integrations/connectors/source-snowflake/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ data:
88
connectorSubtype: database
99
connectorType: source
1010
definitionId: e2d65910-8c8b-40a1-ae7d-ee2416b2bfa2
11-
dockerImageTag: 0.3.1
11+
dockerImageTag: 0.3.2
1212
dockerRepository: airbyte/source-snowflake
1313
documentationUrl: https://docs.airbyte.com/integrations/sources/snowflake
1414
githubIssueLabel: source-snowflake

airbyte-integrations/connectors/source-snowflake/src/main/resources/spec.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"title": "OAuth2.0",
1616
"order": 0,
1717
"required": ["client_id", "client_secret", "auth_type"],
18+
"airbyte_hidden": true,
1819
"properties": {
1920
"auth_type": {
2021
"type": "string",

airbyte-integrations/connectors/source-snowflake/src/test-integration/resources/expected_spec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"title": "OAuth2.0",
1616
"order": 0,
1717
"required": ["client_id", "client_secret", "auth_type"],
18+
"airbyte_hidden": true,
1819
"properties": {
1920
"auth_type": {
2021
"type": "string",
@@ -124,7 +125,6 @@
124125
}
125126
}
126127
},
127-
"supported_destination_sync_modes": [],
128128
"advanced_auth": {
129129
"auth_flow_type": "oauth2.0",
130130
"predicate_key": ["credentials", "auth_type"],

docs/integrations/sources/snowflake.md

+3-16
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ You can limit this grant down to specific schemas instead of the whole database.
7272

7373
Your database user should now be ready for use with Airbyte.
7474

75-
###Authentication
75+
### Authentication
7676

77-
#### There are 2 way ways of oauth supported: login\pass and oauth2.
78-
79-
### Login and Password
77+
#### Login and Password
8078

8179
| Field | Description |
8280
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -89,18 +87,6 @@ Your database user should now be ready for use with Airbyte.
8987
| Password | The password associated with the username. |
9088
| [JDBC URL Params](https://docs.snowflake.com/en/user-guide/jdbc-parameters.html) (Optional) | Additional properties to pass to the JDBC URL string when connecting to the database formatted as `key=value` pairs separated by the symbol `&`. Example: `key1=value1&key2=value2&key3=value3` |
9189

92-
### OAuth 2.0
93-
94-
| Field | Description |
95-
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
96-
| [Host](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html) | The host domain of the snowflake instance (must include the account, region, cloud environment, and end with snowflakecomputing.com). Example: `accountname.us-east-2.aws.snowflakecomputing.com` |
97-
| [Role](https://docs.snowflake.com/en/user-guide/security-access-control-overview.html#roles) | The role you created in Step 1 for Airbyte to access Snowflake. Example: `AIRBYTE_ROLE` |
98-
| [Warehouse](https://docs.snowflake.com/en/user-guide/warehouses-overview.html#overview-of-warehouses) | The warehouse you created in Step 1 for Airbyte to sync data into. Example: `AIRBYTE_WAREHOUSE` |
99-
| [Database](https://docs.snowflake.com/en/sql-reference/ddl-database.html#database-schema-share-ddl) | The database you created in Step 1 for Airbyte to sync data into. Example: `AIRBYTE_DATABASE` |
100-
| [Schema](https://docs.snowflake.com/en/sql-reference/ddl-database.html#database-schema-share-ddl) | The schema whose tables this replication is targeting. If no schema is specified, all tables with permission will be presented regardless of their schema. |
101-
| OAuth2 | The Login name and password to obtain auth token. |
102-
| [JDBC URL Params](https://docs.snowflake.com/en/user-guide/jdbc-parameters.html) (Optional) | Additional properties to pass to the JDBC URL string when connecting to the database formatted as `key=value` pairs separated by the symbol `&`. Example: `key1=value1&key2=value2&key3=value3` |
103-
10490
### Network policies
10591

10692
By default, Snowflake allows users to connect to the service from any computer or device IP address. A security administrator (i.e. users with the SECURITYADMIN role) or higher can create a network policy to allow or deny access to a single IP address or a list of addresses.
@@ -127,6 +113,7 @@ To read more please check official [Snowflake documentation](https://docs.snowfl
127113

128114
| Version | Date | Pull Request | Subject |
129115
| :------ | :--------- | :------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
116+
| 0.3.2 | 2024-02-13 | [38317](https://github.com/airbytehq/airbyte/pull/38317) | Hide oAuth option from connector |
130117
| 0.3.1 | 2024-02-13 | [35220](https://github.com/airbytehq/airbyte/pull/35220) | Adopt CDK 0.20.4 |
131118
| 0.3.1 | 2024-01-24 | [34453](https://github.com/airbytehq/airbyte/pull/34453) | bump CDK version |
132119
| 0.3.0 | 2023-12-18 | [33484](https://github.com/airbytehq/airbyte/pull/33484) | Remove LEGACY state |

0 commit comments

Comments
 (0)