Skip to content

Commit

Permalink
[SM-1178] Rename Service Accounts to Machine Accounts (#698)
Browse files Browse the repository at this point in the history
## Type of change

<!-- (mark with an `X`) -->

- [ ] Bug fix
- [x] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other

## Objective

<!--Describe what the purpose of this PR is. For example: what bug
you're fixing or what new feature you're adding-->

Rename instances (& similar) of "service account" to "machine account".
This only impacts public facing text, so items in README's,
documentation, help docs, etc.

## Before you submit

- Please add **unit tests** where it makes sense to do so
  • Loading branch information
coltonhurst authored Apr 10, 2024
1 parent 4a339a9 commit 09d2826
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 09d2826

Please sign in to comment.