Skip to main content

Command Line Interface

The Bravura SafeCommand Line Interface (CLI) builds upon the same cross-platform technologies that power all Bravura Safe clients, including the web user interface. It is optimized for machine secret scenarios where you need to retrieve credentials to allow scripts, applications, or allow tools to connect to various resources such as databases and servers. The integration opportunities are endless; for example:

  • Retrieve passwords out of plain text files and Bravura Safe

  • Create passwords

  • Delete passwords

  • Update passwords

  • Retrieve and upload files

  • Send and receive safe shares

  • Retrieve one-time codes for scripted 2FA (two-factor authentication) scenarios

The CLI comes with its own Rest API for scenarios where it might be easier to have a script or an application talk over a Rest API locally than fire the command line itself. For example, if you have an RPA product that needs to retrieve credentials. You can use simple and off-the-shelf RPA practices to retrieve those credentials over the local Rest API to make your solutions quicker and easier to maintain and deploy.

Most features that you find in the browser extension and web interface are available from the CLI, using the bsafe program.

You can learn about the various commands by using the --help option:

bsafe --help

Or, pass --help as an option on any bsafe command to see available options and examples:

bsafe list --help
bsafe move --help