mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
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:
parent
7ea4135ecf
commit
29a5ac971f
1 changed files with 4 additions and 2 deletions
|
|
@ -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: "",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue