From 29a5ac971fedd343aadacf664edbda629d9789f9 Mon Sep 17 00:00:00 2001 From: Travis Turner Date: Tue, 7 Mar 2023 14:52:12 -0600 Subject: [PATCH] Add default fbsql cloud configuration (#2301) Until we have API token support, connecting to cloud requires the cognito configuration. This commit adds the production cognito settings for defaults, and we have intentinally omitted these from the documentation. --- cli/cli.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index ea2f0fdd4..428eeca9f 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -21,6 +21,8 @@ import ( const ( defaultHost string = "localhost" + defaultClientID string = "6i2gs7mu215ab23cnvmshdoq6t" // production Cognito client ID + defaultRegion string = "us-east-2" terminationChar string = ";" nullValue string = "NULL" ) @@ -101,8 +103,8 @@ func NewCommand(logdest logger.Logger) *Command { Database: "", CloudAuth: CloudAuthConfig{ - ClientID: "", - Region: "", + ClientID: defaultClientID, + Region: defaultRegion, Email: "", Password: "", },