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(action): no default account (#17411)
p0nyd3ca70800ca1
diff --git a/action/README.md b/action/README.mdindex 33c12a8fb6..f3d7aa971a 100644--- a/action/README.md+++ b/action/README.md@@ -37,7 +37,7 @@ These flags apply to the main `bytebase-action` command and its subcommands (`ch- Default: `https://demo.bytebase.com`- **`--service-account`**: The service account email.- - Default: `[email protected]`. If not provided via flag, reads from the `BYTEBASE_SERVICE_ACCOUNT` environment variable.+ - Default: `""` (empty string). If not provided via flag, reads from the `BYTEBASE_SERVICE_ACCOUNT` environment variable.- **`--service-account-secret`**: The service account password.- Default: `""` (empty string). If not provided via flag, reads from the `BYTEBASE_SERVICE_ACCOUNT_SECRET` environment variable.diff --git a/action/command/root.go b/action/command/root.goindex 2e860dcf54..acbb94bf6b 100644--- a/action/command/root.go+++ b/action/command/root.go@@ -23,7 +23,7 @@ func NewRootCommand(w *world.World) *cobra.Command {// bytebase-action flagscmd.PersistentFlags().StringVar(&w.Output, "output", "", "Output file location. The output file is a JSON file with the created resource names")cmd.PersistentFlags().StringVar(&w.URL, "url", "https://demo.bytebase.com", "Bytebase URL")- cmd.PersistentFlags().StringVar(&w.ServiceAccount, "service-account", "[email protected]", "Bytebase Service account")+ cmd.PersistentFlags().StringVar(&w.ServiceAccount, "service-account", "", "Bytebase Service account")cmd.PersistentFlags().StringVar(&w.ServiceAccountSecret, "service-account-secret", "", "Bytebase Service account secret")cmd.PersistentFlags().StringVar(&w.Project, "project", "projects/hr", "Bytebase project")cmd.PersistentFlags().StringSliceVar(&w.Targets, "targets", []string{"instances/test-sample-instance/databases/hr_test", "instances/prod-sample-instance/databases/hr_prod"}, "Bytebase targets. Either one or more databases or a single databaseGroup")