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.
This commit is contained in:
Travis Turner 2023-03-07 14:52:12 -06:00 committed by GitHub
parent 7ea4135ecf
commit 29a5ac971f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: "",
},