genvid.toolbox.VaultService

class genvid.toolbox.VaultService(vault_policies_folder: str = '', vault_roles_folder: str = '', vault_token_file: str = '', vault_keys_file: str = '', **kwargs)

Bases: genvid.toolbox.service.ServiceTool, genvid.toolbox.vault.VaultTool

Base Configuration of the Vault service.

NAME = 'service-vault'
SERVICE_NAME = 'vault'
get_config(bind, **ignored)

Return the configuration as a dictionary acceptable as a JSON object.

The default configuration can be changed by overriding the result of this method.

Args:

bind: For client only: The service binding address.
get_service_args(configdir, datadir, mode)

Return the base arguments for the service.

poststart()
prestart()
uninstall(clean: bool = False)
class service.VaultService

Implementation of genvid.toolbox.VaultService