-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Collect feedback - important] Settings in cloud for Azure CLI #25675
Comments
roaming profile feature |
This would be an awesome feature addition! atuin offers something similar albeit for shell history; it would be interesting to compare. Not directly related to settings sync, but it would be nice to also have profiles that users can switch between. The commands would look something like this: |
@rguptar, thanks for your feedback. |
@jsntcy I'm not familiar with The profiles I am suggesting are user-centric. Let's say a user has four subscriptions, corresponding to personal, dev, and prod azurepublic, prod azureusgovernment. Profiles offer a convenient way to switch between them. Each profile would save the following information (and potentially more):
Profiles save the user from entering these 4 commands and potentially going through a login prompt every time they want to switch. |
Thanks for explaining and I got your points now. |
Other frequently asked questions and feature requests are regarding roaming the default/current subscription. First, let's answer below questions:
Azure CLI determines which subscription to set as the default following below logic:
The default subscription information is only persistent on disk in Feature request: Azure CLI can persist the current subscription information somewhere on the cloud so that users can get this "roaming" experience. |
Why do we need this feature?
Currently the settings for Azure CLI is only in our local machine, the customers may want to share the settings across their machines so they are always working with their favorite settings.
What do we provide?
There will be two new arguments
--enable-settings-sync
and--disable-settings-sync
foraz config
to allow customers to turn on settings sync or turn off settings sync.How do we achieve this?
We'll store settings in cloud (centralized storage or customers' own storage) and sync settings across different machines per customer's account.
We’ll be asking you for feedback on this feature. Your participation and feedback are very important to us -- I hope you will take the time to help us improve Azure CLI which a lot of people use every day.
If you like this feature, please help click👍
If you have any suggestions, please help comment under this issue.
Thanks in advance
On behalf of Azure CLI team
The text was updated successfully, but these errors were encountered: