public function env()
    {
        $token = $this->Vault->getVaultToken();
        if (empty($token)) {
            return $this->abort('Token file does not exist - call "create" first');
        }

        $this->out('export VAULT_ADDR="http://127.0.0.1:8200" VAULT_TOKEN="' . $token . '";');
        $this->out('echo "You can now execute Vault commands using the \"vault\" CLI tool";');
    }
public function env()
    {
        $token = $this->Vault->getVaultToken();
        if (empty($token)) {
            return $this->abort('Token file does not exist - call "create" first');
        }

        $this->out('export VAULT_ADDR="http://127.0.0.1:8200" VAULT_TOKEN="' . $token . '";');
        $this->out('echo "You can now execute Vault commands using the \"vault\" CLI tool";');
    }
public function env ( ) { $ token = $ this -> Vault -> getVaultToken ( ) ; if ( empty ( $ token ) ) { return $ this -> abort ( 'Token file does not exist - call "create" first' ) ; } $ this -> out ( 'export VAULT_ADDR="http://127.0.0.1:8200" VAULT_TOKEN="' . $ token . '";' ) ; $ this -> out ( 'echo "You can now execute Vault commands using the \"vault\" CLI tool";' ) ; }
Export ENV variables for Vault CLI usage

@return void
Export ENV variables for Vault CLI usage