From af90800c31df026f39c3d2d64862fcbedb24b77a Mon Sep 17 00:00:00 2001 From: Mosha Pasumansky Date: Thu, 6 Nov 2025 13:46:48 -0800 Subject: [PATCH] Remove unused --bearer parameter --- README.md | 5 ++--- src/args.rs | 3 --- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 34e5d22..6c40fe5 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/src/args.rs b/src/args.rs index fe519f0..4e4d4c7 100644 --- a/src/args.rs +++ b/src/args.rs @@ -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,