Sign in and manage profiles
Sign in
Section titled “Sign in”rvs auth loginApprove the request in your browser. The CLI never asks for your Ravenstash password. Check the result with:
rvs auth statusrvs auth whoamiThe default sign-in lasts up to 180 days. You can request a shorter period from 12 hours to 180 days:
rvs auth login --duration 12hChoose a personal account or organization
Section titled “Choose a personal account or organization”Signing in gives you access to the personal account and organizations available to your user. Choose one with your username or the organization’s public handle:
rvs account listrvs account switch Averyrvs account switch AcmeHQSee Choose an account and repository for the normal setup flow.
Use separate profiles
Section titled “Use separate profiles”Most people need only the default profile. Named profiles are useful when the same computer needs separate Ravenstash sign-ins:
rvs auth login --profile workrvs auth login --profile personalrvs profile listrvs profile use workYou can also inspect, rename, or delete them:
rvs profile currentrvs profile rename work companyrvs profile delete personalSet RVS_PROFILE when every command in the current shell should use one profile:
export RVS_PROFILE=companyKeep credentials safe
Section titled “Keep credentials safe”rvs uses your operating system’s secure credential storage when available. It
can also use pass or Ravenstash’s encrypted local vault. Run these commands if
you need to check or set up storage:
rvs auth storage doctorrvs auth storage setupPlain-text storage is available only after an explicit warning and should be reserved for environments that cannot use a secure option.
Use an automation token
Section titled “Use an automation token”For CI and other unattended jobs, provide an automation token from the job’s secret store:
export RVS_TOKEN="${TOKEN_FROM_SECRET_STORE}"rvs auth whoamiDo not save the token in project files, shell profiles, build output, or the
rvs configuration file.
Sign out
Section titled “Sign out”rvs auth logoutTo remove credentials from every local profile:
rvs auth logout --allSigning out does not delete repositories or revoke automation tokens. You can review and revoke unfamiliar CLI sessions in Ravenstash account settings.

