Cerberus

0.4.1

bermudadigitalstudio/Cerberus

What's New

2018-07-10T15:46:30Z

Cerberus

A Vault client in Swift (for Linux, obviously).

Status

  1. Connects to a running Vault
  2. Get Vault sealed and health status
  3. Set Vault token
  4. Retrieve info about the current token.
  5. Retrieve secret given unwrapped token (get generic secret)
  6. Renew token (extend lease)
  7. Get a token from an unwrapped secret_id and role_id (AppRole auth).
  8. Automatic periodic token renewal

Roadmap

  1. Unwrapping secrets
  2. Custom TLS support

Postgres Secrets

TBD

RabbitMQ Secrets

TBD

Running the tests

Required: Docker

Run ./Scripts/test.sh. The integration tests will spin up a Vault instance in one container, grab the credentials, and run the tests in another Linux container given the credentials.

Development

./Scripts/start_vault.sh will spin up a Vault instance, expose it locally at port 8200 and configure it to the same state as used in integration tests. You can pass the variables printed to the unit tests, whether they are run in Xcode or on the command line.

Description

  • Swift Tools 4.0.0
View More Packages from this Author

Dependencies

Last updated: Sun Mar 10 2024 23:57:44 GMT-0900 (Hawaii-Aleutian Daylight Time)