Where does vscode extensions store login information?










1















I have a few extensions where I have logged in to an online service like Azure Account and Docker Hub.



Each time I start VSCode, I am able to use these services, which is great.



But, how is this login-info stored? Will I have to go through each of them and logout, or are there some settings etc. that I can delete, to make sure I am logged out of everything?



What if I delete extensions? Is the login-info still there, so that if the extension is re-installed, it will be immediately logged in?










share|improve this question






















  • Are you sure VSCode stores the login information? If it were me I would assume the extension does.

    – user34660
    Nov 14 '18 at 19:24











  • Extensions that are wrappers for command-line programs are very likely to not care at all about auth and just let it to the underlying software.

    – Álvaro González
    Nov 15 '18 at 11:04















1















I have a few extensions where I have logged in to an online service like Azure Account and Docker Hub.



Each time I start VSCode, I am able to use these services, which is great.



But, how is this login-info stored? Will I have to go through each of them and logout, or are there some settings etc. that I can delete, to make sure I am logged out of everything?



What if I delete extensions? Is the login-info still there, so that if the extension is re-installed, it will be immediately logged in?










share|improve this question






















  • Are you sure VSCode stores the login information? If it were me I would assume the extension does.

    – user34660
    Nov 14 '18 at 19:24











  • Extensions that are wrappers for command-line programs are very likely to not care at all about auth and just let it to the underlying software.

    – Álvaro González
    Nov 15 '18 at 11:04













1












1








1








I have a few extensions where I have logged in to an online service like Azure Account and Docker Hub.



Each time I start VSCode, I am able to use these services, which is great.



But, how is this login-info stored? Will I have to go through each of them and logout, or are there some settings etc. that I can delete, to make sure I am logged out of everything?



What if I delete extensions? Is the login-info still there, so that if the extension is re-installed, it will be immediately logged in?










share|improve this question














I have a few extensions where I have logged in to an online service like Azure Account and Docker Hub.



Each time I start VSCode, I am able to use these services, which is great.



But, how is this login-info stored? Will I have to go through each of them and logout, or are there some settings etc. that I can delete, to make sure I am logged out of everything?



What if I delete extensions? Is the login-info still there, so that if the extension is re-installed, it will be immediately logged in?







visual-studio-code






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 14 '18 at 17:20









Kenneth JohnsenKenneth Johnsen

82




82












  • Are you sure VSCode stores the login information? If it were me I would assume the extension does.

    – user34660
    Nov 14 '18 at 19:24











  • Extensions that are wrappers for command-line programs are very likely to not care at all about auth and just let it to the underlying software.

    – Álvaro González
    Nov 15 '18 at 11:04

















  • Are you sure VSCode stores the login information? If it were me I would assume the extension does.

    – user34660
    Nov 14 '18 at 19:24











  • Extensions that are wrappers for command-line programs are very likely to not care at all about auth and just let it to the underlying software.

    – Álvaro González
    Nov 15 '18 at 11:04
















Are you sure VSCode stores the login information? If it were me I would assume the extension does.

– user34660
Nov 14 '18 at 19:24





Are you sure VSCode stores the login information? If it were me I would assume the extension does.

– user34660
Nov 14 '18 at 19:24













Extensions that are wrappers for command-line programs are very likely to not care at all about auth and just let it to the underlying software.

– Álvaro González
Nov 15 '18 at 11:04





Extensions that are wrappers for command-line programs are very likely to not care at all about auth and just let it to the underlying software.

– Álvaro González
Nov 15 '18 at 11:04












1 Answer
1






active

oldest

votes


















1














Storing this information is up to each extension.



Many of the Azure ones use this extension so that account info can be shared among extensions. Behind the scenes, I believe it uses the system keychain/keyvault through keytar



The docker extension also uses keytar but has its own account management functionality in VS Code for logging in and logging out.



For extensions that manage creds in general, you must log out of each extension. The exception would be for a shared account (like with the Azure extensions) where you would only have to log the account out once.






share|improve this answer

























  • It would make sense that I'd have to log out of each. I was just thinking maybe there's a way of removing this info in one swoop. If e.g. I use VS Code on some other machine (we have Jenkins nodes running that automatically logs into windows so UI tests can run), and if I use VSCode on that, I'd like to make sure I'm not signed in to some service or other, that I have forgotten about.

    – Kenneth Johnsen
    Nov 16 '18 at 6:10










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305615%2fwhere-does-vscode-extensions-store-login-information%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Storing this information is up to each extension.



Many of the Azure ones use this extension so that account info can be shared among extensions. Behind the scenes, I believe it uses the system keychain/keyvault through keytar



The docker extension also uses keytar but has its own account management functionality in VS Code for logging in and logging out.



For extensions that manage creds in general, you must log out of each extension. The exception would be for a shared account (like with the Azure extensions) where you would only have to log the account out once.






share|improve this answer

























  • It would make sense that I'd have to log out of each. I was just thinking maybe there's a way of removing this info in one swoop. If e.g. I use VS Code on some other machine (we have Jenkins nodes running that automatically logs into windows so UI tests can run), and if I use VSCode on that, I'd like to make sure I'm not signed in to some service or other, that I have forgotten about.

    – Kenneth Johnsen
    Nov 16 '18 at 6:10















1














Storing this information is up to each extension.



Many of the Azure ones use this extension so that account info can be shared among extensions. Behind the scenes, I believe it uses the system keychain/keyvault through keytar



The docker extension also uses keytar but has its own account management functionality in VS Code for logging in and logging out.



For extensions that manage creds in general, you must log out of each extension. The exception would be for a shared account (like with the Azure extensions) where you would only have to log the account out once.






share|improve this answer

























  • It would make sense that I'd have to log out of each. I was just thinking maybe there's a way of removing this info in one swoop. If e.g. I use VS Code on some other machine (we have Jenkins nodes running that automatically logs into windows so UI tests can run), and if I use VSCode on that, I'd like to make sure I'm not signed in to some service or other, that I have forgotten about.

    – Kenneth Johnsen
    Nov 16 '18 at 6:10













1












1








1







Storing this information is up to each extension.



Many of the Azure ones use this extension so that account info can be shared among extensions. Behind the scenes, I believe it uses the system keychain/keyvault through keytar



The docker extension also uses keytar but has its own account management functionality in VS Code for logging in and logging out.



For extensions that manage creds in general, you must log out of each extension. The exception would be for a shared account (like with the Azure extensions) where you would only have to log the account out once.






share|improve this answer















Storing this information is up to each extension.



Many of the Azure ones use this extension so that account info can be shared among extensions. Behind the scenes, I believe it uses the system keychain/keyvault through keytar



The docker extension also uses keytar but has its own account management functionality in VS Code for logging in and logging out.



For extensions that manage creds in general, you must log out of each extension. The exception would be for a shared account (like with the Azure extensions) where you would only have to log the account out once.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 16 '18 at 6:58

























answered Nov 15 '18 at 8:54









Matt BiernerMatt Bierner

13.5k13878




13.5k13878












  • It would make sense that I'd have to log out of each. I was just thinking maybe there's a way of removing this info in one swoop. If e.g. I use VS Code on some other machine (we have Jenkins nodes running that automatically logs into windows so UI tests can run), and if I use VSCode on that, I'd like to make sure I'm not signed in to some service or other, that I have forgotten about.

    – Kenneth Johnsen
    Nov 16 '18 at 6:10

















  • It would make sense that I'd have to log out of each. I was just thinking maybe there's a way of removing this info in one swoop. If e.g. I use VS Code on some other machine (we have Jenkins nodes running that automatically logs into windows so UI tests can run), and if I use VSCode on that, I'd like to make sure I'm not signed in to some service or other, that I have forgotten about.

    – Kenneth Johnsen
    Nov 16 '18 at 6:10
















It would make sense that I'd have to log out of each. I was just thinking maybe there's a way of removing this info in one swoop. If e.g. I use VS Code on some other machine (we have Jenkins nodes running that automatically logs into windows so UI tests can run), and if I use VSCode on that, I'd like to make sure I'm not signed in to some service or other, that I have forgotten about.

– Kenneth Johnsen
Nov 16 '18 at 6:10





It would make sense that I'd have to log out of each. I was just thinking maybe there's a way of removing this info in one swoop. If e.g. I use VS Code on some other machine (we have Jenkins nodes running that automatically logs into windows so UI tests can run), and if I use VSCode on that, I'd like to make sure I'm not signed in to some service or other, that I have forgotten about.

– Kenneth Johnsen
Nov 16 '18 at 6:10



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305615%2fwhere-does-vscode-extensions-store-login-information%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

政党