biweeklybudget.vault module

exception biweeklybudget.vault.SecretMissingException(path)[source]

Bases: Exception

class biweeklybudget.vault.Vault(addr=None, token_path=None)[source]

Bases: object

Provides simpler access to Vault

read(secret_path)[source]

Read and return a secret from Vault. Return only the data portion.

Parameters:secret_path (str) – path to read in Vault
Returns:secret data
Return type:dict