Metadata-Version: 2.4
Name: harar
Version: 0.2.0
Summary: harar's client: from harar import vault. Where each secret may go, and the secret itself for one host only.
Project-URL: Homepage, https://harar.addis.gg
Project-URL: Source, https://github.com/addiscorp/harar
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# harar

harar's client for Python.

```python
from harar import vault

v = vault(socket="/run/harar.sock")
v.hosts("prod/shop/STRIPE_KEY")                   # where it may go: ['api.stripe.com']
v.send("prod/shop/STRIPE_KEY", "api.stripe.com")  # the key, for that host only
```

harar decides every send and records the host, and this client holds
nothing. It speaks to a per-user agent (`harar agent`, where `harar hosts
allow <secret> <host>` sets the hosts) or a primary (where a role's `send`
permission does). A refusal, or a harar that cannot be reached, raises
`harar.HararError` naming why.

harar itself: https://github.com/addiscorp/harar
