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 a dictionary acceptable as a JSON object representing the configuration.

The default configuration could be change by overriding the result of this method.

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

Return the based arguments for the service.

poststart()
prestart()
uninstall()
class service.VaultService

Implementation of genvid.toolbox.VaultService