Switch between multiple accounts when using CLI
See original GitHub issueI would like to switch between multiple Sanity.io accounts.
Something like sanity switch ACCOUNT
would be useful. We can store multiple login tokens and tag/name them.
It’s not very practical to log in every time I need to work on different project.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to: Use multiple AWS accounts with the AWS-CLI
To switch between different AWS accounts, set the AWS_profile environment variable at the command line via export AWS_PROFILE=profile_name .
Read more >Manage Multiple Accounts with the AWS CLI | bobbyhadz
A complete step-by-step guide on how to configure multiple accounts for the AWS CLI, showing both the files and environment variables approach.
Read more >How to use multiple AWS accounts from the command line?
You can work with two accounts by creating two profiles on the aws command line. It will prompt you for your AWS Access...
Read more >Tutorial: How to handle multiple accounts within the Netlify CLI
To be able to run netlify dev on sites linked to each account, you can connect the CLI to both, and switch between...
Read more >How to manage multiple AWS accounts for the AWS CLI on ...
How to manage multiple AWS accounts for the AWS CLI on the same computer Mar 6 2021 · AWS CLI tool · Using...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Found sanity login command, forget about the question 😃
Ran across this while learning about Sanity and had an issue when trying to build a project in the CLI and was getting an error regarding not being added when running the command:
and after clicking the URL: http://localhost:3333
In the terminal, after the global installation of:
If you’ve performed the
init
command:and you want to use a different account, in the terminal you can logout:
then log into your other account.