ps-cli
The Password Safe CLI Application is an efficient Command Line Interface (CLI) tool specifically crafted to interface with the Beyond Insight and Password Safe APIs (version 24.3). This application allows users to access various API resources, including safes, folders, secrets, managed accounts, and more. It offers a user-friendly interface that simplifies command parsing, ensures input validation, and delivers detailed output.
Available environment variables
Required:
- PSCLI_API_URL: Beyond Insight and Password Safe API URL. This can also be set in the settings file.
- PSCLI_CLIENT_ID: Client ID to use when requesting data from the API. This can also be set in the settings file.
- PSCLI_CLIENT_SECRET: Client secret to use when requesting data from the API. This can also be set in the settings file.
Optional:
- PSCLI_SETTINGS_PATH: Custom settings path to use for
ps-cli. By default, the settings file is created in the user's home directory (~). - PSCLI_AUTH_RETRIES: The number of times
ps-clishould attempt to authenticate in case of an error. - PSCLI_TIMEOUT_CONNECTION: How long to wait for the server to connect and send data before giving up. Integer value defined in seconds, by default 30 seconds.
- PSCLI_TIMEOUT_REQUEST: How long to wait for each request made to the API. Defined in seconds, by default 30 seconds.
- PSCLI_VERIFY_CA: Set to
falseto disable SSL certificate verification (useful for self-signed certificates). By default, SSL verification is enabled for secure connections.
Prerequisites
- Python 3.12+
- Password Safe version 24.3
Getting started
- Install
ps-cli(package name:beyondtrust-bips-cli)
pip install beyondtrust-bips-cli
- Check that
ps-cliis properly installed:
ps-cli -h
# Output usage instructions:
usage: ps-cli [-h] [-v] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [--format {json,csv,tsv}] [--delimiter {,,;, ,|, }]
[-av {3.0,3.1}]
{safes,folders,secrets,settings} ...
- Create the settings file using:
By default, the settings file is created in the user's home directory (~). If you would like to specify a custom path for the settings, you can achieve this by setting the PSCLI_SETTINGS_PATH environment variable. If you're using the custom settings path (PSCLI_SETTINGS_PATH), set it before running the settings initialization command:
ps-cli settings initialize-settings
After creating the settings file, proceed to edit it and configure the api_url, client_id, and client_secret, in case you did not define this configuration using the available environment variables (PSCLI_API_URL, PSCLI_CLIENT_ID and PSCLI_CLIENT_SECRET).
You can find more details on ps-cli official documentation.
Metadata
Release files for beyondtrust-bips-cli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| beyondtrust_bips_cli-1.0.0.tar.gz | 94.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beyondtrust_bips_cli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 239.7 kB
Release files / beyondtrust_bips_cli-1.0.0.tar.gz
| Download URL | beyondtrust_bips_cli-1.0.0.tar.gz |
|---|---|
| Size | 94.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
078dbcbfd41666c87365badd65db7375d216f7edf4d2143eda6f0ae110ba601b
|
|
BLAKE2b-256 checksum How to use checksums |
85c1089525f389fa80ae5b46e25b05671dc40a3112fb04c77482c4b06228f0d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / beyondtrust_bips_cli-1.0.0-py3-none-any.whl
| Download URL | beyondtrust_bips_cli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 145.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffed5a0c79defcbf72d48a3783f1318fee2b4bcf6e409b9a498ec0169e3b0409
|
|
BLAKE2b-256 checksum How to use checksums |
ab275d20920bb678add56454e5749bb9f8dcb6d76dc08d669c7ad7d08f898cfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for beyondtrust-bips-cli 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for beyondtrust_bips_cli-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.