An open API service indexing awesome lists of open source software.

https://github.com/douglascamata/passman_cli

A CLI for Passman.
https://github.com/douglascamata/passman_cli

passman password python security

Last synced: over 1 year ago
JSON representation

A CLI for Passman.

Awesome Lists containing this project

README

          

# Passman CLI

A CLI to access data from a [Passman](https://github.com/nextcloud/passman) instance.

## Installation

There is still no version pushed to PyPi, so you can still by cloning this
repository and running `python setup.py install`. A `passman` command will be
available in your shell.

## Development

1. Clone this repository
2. Install the development requirements: `pip install -r requirements.txt`
3. (Optional) Install the egg in `develop` mode: `python setup.py develop`

## Usage

To learn more about the usage please run `passman --help`.

## Config File

Passman CLI supports a [TOML]() config file to save the base url of the instance
and your username and password. You can send a path to the config file using the
`--config` option of the command-line. It also looks for a config named
`passman_cli.toml` at the current working dir and at `~/.config/`, in this exact
order.

Here's an example of configuration:

```toml
base_url = "https://my.nextcloud/apps/passman/api/v2"
auth = ["admin", "password"]
```