Skip to content

Commit

Permalink
SM-1178: Rename service accounts to machine accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonhurst committed Apr 8, 2024
1 parent c272758 commit f25b8e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bitwarden-napi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const accessToken = "-- REDACTED --";

const client = new BitwardenClient(settings, LogLevel.Info);

// Authenticating using a service accounts access token
// Authenticating using a machine account access token
const result = await client.loginWithAccessToken(accessToken);
if (!result.success) {
throw Error("Authentication failed");
Expand Down
2 changes: 1 addition & 1 deletion crates/bws/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct Cli {
#[arg(short = 'c', long, global = true, value_enum, default_value_t = Color::Auto, help="Use colors in the output")]
color: Color,

#[arg(short = 't', long, global = true, env = ACCESS_TOKEN_KEY_VAR_NAME, hide_env_values = true, help="Specify access token for the service account")]
#[arg(short = 't', long, global = true, env = ACCESS_TOKEN_KEY_VAR_NAME, hide_env_values = true, help="Specify access token for the machine account")]
access_token: Option<String>,

#[arg(
Expand Down

0 comments on commit f25b8e0

Please sign in to comment.