public function factory()
    {
        if (!$this->factory) {
            $options = [];
            $options['headers']['X-Vault-Token'] = $this->getVaultToken();
            $this->factory = new VaultFactory($options);
        }

        return $this->factory;
    }
public function factory()
    {
        if (!$this->factory) {
            $options = [];
            $options['headers']['X-Vault-Token'] = $this->getVaultToken();
            $this->factory = new VaultFactory($options);
        }

        return $this->factory;
    }
public function factory ( ) { if ( ! $ this -> factory ) { $ options = [ ] ; $ options [ 'headers' ] [ 'X-Vault-Token' ] = $ this -> getVaultToken ( ) ; $ this -> factory = new VaultFactory ( $ options ) ; } return $ this -> factory ; }
Get the Vault Service Factory

If the ~/.bownty_vault_keys file exist, the X-Vault-Token header
will automatically be sent in all requests

@return Jippi\Vault\ServiceFactory
Get the Vault Service Factory