Skip to main content

get

The get command retrieves a single object from your safe:

bsafe get (item|username|password|uri|totp|exposed|attachment|folder|collection|team|team-collection|template|fingerprint) <id> [options]

The get command takes an item id or string for its argument. If you use anything other than an exact id; for example, a string, get will search your safe objects for one with a value that matches. For example, the following command would return a Github password:

bsafe get password Github

Note

The get command can only return one result, so you should use specific search terms. If multiple results are found, the CLI will return an error.