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

        return $this->factory;
    }