Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Optional arguments:
--sa-id SA-ID Service Account ID for OAuth authentication
--sa-secret SA-SECRET Service Account Secret for OAuth authentication
--jwt-from-file Load JWT from file (~/.firebolt/jwt)
--bearer BEARER Firebolt bearer token for authentication
--oauth-env OAUTH-ENV OAuth environment to use (e.g., 'app' or 'staging'). Used for Service Account authentication (default: staging)
-v, --verbose Enable extra verbose output
--concise Suppress time statistics in output
Expand Down Expand Up @@ -153,10 +152,10 @@ Read more about getting service accounts [here](https://docs.firebolt.io/guides/
Specify:
- host;
- account_id;
- bearer token (take it from browser);
- JWT token (can be obtained from browser or other authentication methods);

```
➤ fb --host api.us-east-1.app.firebolt.io --verbose --extra account_id=12312312312 --bearer 'eyJhbGciOiJSUzI1NiI...'
➤ fb --host api.us-east-1.app.firebolt.io --verbose --extra account_id=12312312312 --jwt 'eyJhbGciOiJSUzI1NiI...'

=> show engines
URL: https://api.us-east-1.app.firebolt.io/?database=db_1&account_id=12312312&output_format=JSON&advanced_mode=1
Expand Down
3 changes: 0 additions & 3 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ pub struct Args {
#[serde(default)]
pub jwt_from_file: bool,

#[options(no_short, help = "Firebolt bearer token for authentication")]
#[serde(skip_serializing, skip_deserializing)]
pub bearer: String,

#[options(
no_short,
Expand Down