Skip to main content

Module cli

Module cli 

Source
Expand description

CLI argument definitions (exposed for main.rs). Command-line interface argument parsing for the access connector.

Minimal by design: connector settings live in the TOML config file (--config <PATH> or BWAC_CONFIG), not CLI flags. BWAC_API_URL/BWAC_IDENTITY_URL override the file’s URLs; BWAC_TOKEN supplies the token. Configuration loading, which resolves that precedence, arrives with the connector’s config module.

The connector token is never a CLI argument, since argv is visible via ps and /proc/<pid>/cmdline, and never accepted in the config file; only BWAC_TOKEN.

Structs§

Cli
Bitwarden PAM access connector.
RunArgs
Arguments for the run subcommand.

Enums§

Command
Available subcommands.