Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: support external secret manager in fe (#8591)
ecmadao728fc417d081
diff --git a/backend/enterprise/api/plan.yaml b/backend/enterprise/api/plan.yamlindex 5ce566912b..da004967a5 100644--- a/backend/enterprise/api/plan.yaml+++ b/backend/enterprise/api/plan.yaml@@ -50,6 +50,7 @@ categoryList:- disallow-signup- anomaly-detection- announcement-banner+ - external-secret-manager- type: bespokefeatureList:- support@@ -286,6 +287,7 @@ planList:- type: audit-log- type: disallow-signup- type: announcement-banner+ - type: external-secret-manager# Bespoke- type: supportcontent: support-sladiff --git a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vueindex 508a9739bf..3eccaf43a0 100644--- a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue+++ b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue@@ -7,7 +7,7 @@:engine="basicInfo.engine":data-source-type="dataSource.type"/>- <div class="mt-2 sm:col-span-1 sm:col-start-1">+ <div class="mt-2 sm:col-span-2 sm:col-start-1"><label for="username" class="textlabel block">{{ $t("common.username") }}</label>@@ -26,7 +26,7 @@"/></div>- <div class="mt-2 sm:col-span-1 sm:col-start-1">+ <div class="mt-2 sm:col-span-2 sm:col-start-1"><div class="flex flex-row items-center space-x-2"><label for="password" class="textlabel block">{{ $t("common.password") }}@@ -39,6 +39,16 @@@toggle="toggleUseEmptyPassword"/></div>+ <div class="flex space-x-2 text-sm mb-1">+ <div class="text-gray-400">+ {{ $t("instance.secret-manager-tip") }}+ </div>+ <LearnMoreLink+ url="https://www.bytebase.com/docs/get-started/instance/#use-secret-manager?source=console"+ class="ml-1 text-sm"+ />+ <FeatureBadge feature="bb.feature.external-secret-manager" />+ </div><inputid="password"name="password"@@ -72,7 +82,7 @@</template><template v-if="showAuthenticationDatabase">- <div class="sm:col-span-1 sm:col-start-1">+ <div class="sm:col-span-2 sm:col-start-1"><div class="flex flex-row items-center space-x-2"><label for="authenticationDatabase" class="textlabel block">{{ $t("instance.authentication-database") }}@@ -101,7 +111,7 @@><divv-if="hasReadonlyReplicaHost"- class="mt-2 sm:col-span-1 sm:col-start-1"+ class="mt-2 sm:col-span-2 sm:col-start-1"><div class="flex flex-row items-center space-x-2"><label for="host" class="textlabel block">@@ -121,7 +131,7 @@<divv-if="hasReadonlyReplicaPort"- class="mt-2 sm:col-span-1 sm:col-start-1"+ class="mt-2 sm:col-span-2 sm:col-start-1"><div class="flex flex-row items-center space-x-2"><label for="port" class="textlabel block">@@ -140,7 +150,7 @@</div></template>- <div v-if="showDatabase" class="mt-2 sm:col-span-1 sm:col-start-1">+ <div v-if="showDatabase" class="mt-2 sm:col-span-2 sm:col-start-1"><label for="database" class="textlabel block">{{ $t("common.database") }}</label>diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex c65ca3af9b..4a97fd2cd3 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1141,6 +1141,7 @@"type-or-paste-credentials": "Type or paste CREDENTIALS","type-or-paste-credentials-write-only": "Type or paste CREDENTIALS - write only","password-write-only": "YOUR_DB_PWD - write only",+ "secret-manager-tip": "You can also specify external secret manage endpoint","test-connection": "Test Connection","ignore-and-create": "Ignore and create","add-a-postgresql-sample-instance": "Add a PostgreSQL sample instance instead",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 24d42f690c..ea5f9dcba9 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1140,6 +1140,7 @@"type-or-paste-credentials": "Escriba o pegue las CREDENCIALES","type-or-paste-credentials-write-only": "Escriba o pegue las CREDENCIALES - solo escritura","password-write-only": "SU_DB_PWD - solo escritura",+ "secret-manager-tip": "También puede especificar un punto final de gestión de secreto externo","test-connection": "Probar conexión","ignore-and-create": "Ignorar y crear","add-a-postgresql-sample-instance": "Agregue una instancia de muestra de PostgreSQL en su lugar",diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.jsonindex 2b229f330f..71c807d9f8 100644--- a/frontend/src/locales/subscription/en-US.json+++ b/frontend/src/locales/subscription/en-US.json@@ -150,7 +150,8 @@"anomaly-detection-advanced-tooltip": "Basic + Schema drift detection","archiving": "Archiving","disallow-signup": "Disallow signup",- "announcement-banner": "Announcement Banner"+ "announcement-banner": "Announcement banner",+ "external-secret-manager": "External secret manager"}},"bespoke": {diff --git a/frontend/src/locales/subscription/es-ES.json b/frontend/src/locales/subscription/es-ES.jsonindex 394c6c23dc..687351e71b 100644--- a/frontend/src/locales/subscription/es-ES.json+++ b/frontend/src/locales/subscription/es-ES.json@@ -150,7 +150,8 @@"anomaly-detection-advanced-tooltip": "Básico + Detección de desviación de esquema","archiving": "Archivado","disallow-signup": "Deshabilitar el registro de autoservicio",- "announcement-banner": "Anuncio"+ "announcement-banner": "Anuncio",+ "external-secret-manager": "Administrador de secretos externo"}},"bespoke": {diff --git a/frontend/src/locales/subscription/zh-CN.json b/frontend/src/locales/subscription/zh-CN.jsonindex 0ac5df7381..9c7aa45fc2 100644--- a/frontend/src/locales/subscription/zh-CN.json+++ b/frontend/src/locales/subscription/zh-CN.json@@ -150,7 +150,8 @@"anomaly-detection-advanced-tooltip": "基础版功能 + Schema 偏差检测","archiving": "归档","disallow-signup": "禁用自助注册",- "announcement-banner": "公告"+ "announcement-banner": "公告",+ "external-secret-manager": "外部密码管理服务"}},"bespoke": {diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 17e69c5b3f..1e884c8dec 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1137,6 +1137,7 @@"type-or-paste-credentials": "输入或粘贴 CREDENTIALS","type-or-paste-credentials-write-only": "输入或粘贴 CREDENTIALS - 仅写入","password-write-only": "YOUR_DB_PWD - 仅写入",+ "secret-manager-tip": "您也可以指定外部的密码管理服务 endpoint","test-connection": "测试连接","ignore-and-create": "忽略并创建","add-a-postgresql-sample-instance": "添加一个 PostgreSQL 样本实例",diff --git a/frontend/src/types/plan.ts b/frontend/src/types/plan.tsindex 8b81144f89..418c1d7cda 100644--- a/frontend/src/types/plan.ts+++ b/frontend/src/types/plan.ts@@ -19,6 +19,7 @@ export type FeatureType =| "bb.feature.audit-log"| "bb.feature.issue-advanced-search"| "bb.feature.announcement"+ | "bb.feature.external-secret-manager"// Branding| "bb.feature.branding"// Change Workflow