You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/setting.md
-21Lines changed: 0 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,6 @@ The setting data source.
28
28
### Read-Only
29
29
30
30
-`approval_flow` (Block List) Configure risk level and approval flow for different tasks. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--approval_flow))
31
-
-`external_approval_nodes` (Block List) Configure external nodes in the approval flow. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--external_approval_nodes))
32
31
-`id` (String) The ID of this resource.
33
32
34
33
<aid="nestedblock--classification"></a>
@@ -186,23 +185,3 @@ Read-Only:
186
185
-`type` (String)
187
186
188
187
189
-
190
-
191
-
192
-
<aid="nestedblock--external_approval_nodes"></a>
193
-
### Nested Schema for `external_approval_nodes`
194
-
195
-
Read-Only:
196
-
197
-
-`nodes` (Set of Object) (see [below for nested schema](#nestedatt--external_approval_nodes--nodes))
Copy file name to clipboardExpand all lines: docs/resources/instance.md
+54-1Lines changed: 54 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,9 @@ The instance resource.
25
25
26
26
### Optional
27
27
28
+
-`activation` (Boolean) Whether assign license for this instance or not.
28
29
-`external_link` (String) The external console URL managing this instance (e.g. AWS RDS console, your in-house DB instance console)
30
+
-`list_all_databases` (Boolean) List all databases in this instance. If false, will only list 500 databases.
29
31
-`maximum_connections` (Number) The maximum number of connections.
30
32
-`sync_interval` (Number) How often the instance is synced in seconds. Default 0, means never sync.
31
33
@@ -44,15 +46,66 @@ Required:
44
46
-`host` (String) Host or socket for your instance, or the account name if the instance type is Snowflake.
45
47
-`id` (String) The unique data source id in this instance.
46
48
-`port` (String) The port for your instance.
47
-
-`type` (String) The data source type. Should be ADMIN or RO.
49
+
-`type` (String) The data source type. Should be ADMIN or READ_ONLY.
48
50
49
51
Optional:
50
52
51
53
-`database` (String) The database for the instance, you can set this if the engine type is POSTGRES.
54
+
-`external_secret` (Block List, Max: 1) The external secret to get the database password. Learn more: https://www.bytebase.com/docs/get-started/instance/#use-external-secret-manager (see [below for nested schema](#nestedblock--data_sources--external_secret))
52
55
-`password` (String, Sensitive) The connection user password used by Bytebase to perform DDL and DML operations.
53
56
-`ssl_ca` (String, Sensitive) The CA certificate. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
54
57
-`ssl_cert` (String, Sensitive) The client certificate. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
55
58
-`ssl_key` (String, Sensitive) The client key. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
56
59
-`username` (String) The connection user name used by Bytebase to perform DDL and DML operations.
### Nested Schema for `data_sources.external_secret`
63
+
64
+
Optional:
65
+
66
+
-`aws_secrets_manager` (Block List, Max: 1) The AWS Secrets Manager to get the database password. Reference doc https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html (see [below for nested schema](#nestedblock--data_sources--external_secret--aws_secrets_manager))
67
+
-`gcp_secret_manager` (Block List, Max: 1) The GCP Secret Manager to get the database password. Reference doc https://cloud.google.com/secret-manager/docs (see [below for nested schema](#nestedblock--data_sources--external_secret--gcp_secret_manager))
68
+
-`vault` (Block List, Max: 1) The Valut to get the database password. Reference doc https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v2 (see [below for nested schema](#nestedblock--data_sources--external_secret--vault))
### Nested Schema for `data_sources.external_secret.vault`
89
+
90
+
Required:
91
+
92
+
-`engine_name` (String) The name for secret engine.
93
+
-`password_key_name` (String) The key name for the password.
94
+
-`secret_name` (String) The secret name in the engine to store the password.
95
+
-`url` (String) The Vault URL.
96
+
97
+
Optional:
98
+
99
+
-`app_role` (Block List, Max: 1) The Vault app role to get the password. (see [below for nested schema](#nestedblock--data_sources--external_secret--vault--app_role))
100
+
-`token` (String, Sensitive) The root token without TTL. Learn more: https://developer.hashicorp.com/vault/docs/commands/operator/generate-root
Copy file name to clipboardExpand all lines: docs/resources/setting.md
-19Lines changed: 0 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ The setting resource.
23
23
24
24
-`approval_flow` (Block List) Configure risk level and approval flow for different tasks. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--approval_flow))
25
25
-`classification` (Block List, Max: 1) Classification for data masking. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--classification))
26
-
-`external_approval_nodes` (Block List) Configure external nodes in the approval flow. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--external_approval_nodes))
27
26
-`semantic_types` (Block Set) Semantic types for data masking. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--semantic_types))
28
27
-`workspace_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--workspace_profile))
29
28
@@ -119,24 +118,6 @@ Optional:
119
118
120
119
121
120
122
-
<aid="nestedblock--external_approval_nodes"></a>
123
-
### Nested Schema for `external_approval_nodes`
124
-
125
-
Required:
126
-
127
-
-`nodes` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--external_approval_nodes--nodes))
0 commit comments