You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's not (generally) a way to edit the credentials, instead you can right click the registry connection and choose "Disconnect", then start over with connecting.
Thanks for following up on this. I was imagining that the credentials are stored somewhere (in a JSON config file?). I was wondering if I could manually edit these "cached" credentials somehow.
The extension has to maintain a "list" of connected registries, right? Wouldn't the credentials be stored alongside that?
Good question! We use VSCode's Memento construct for storing the connection data (server URL where it applies, and username), and the SecretStorage construct for the password/PAT. In the past we used keytar for secret storage but when VSCode added the SecretStorage API we switched to that. I think VSCode still uses keytar underneath for that, but I don't know for sure.
In certain circumstances, the registry connection will show a "Re-enter credentials..." right-click option, which essentially walks back through the connection wizard. But, I think it currently will only show up for Docker Hub and Gitlab connections, not for generic V2 registries.
I'm experimenting with using ECR #869 #2033.
Is there a way to configure the settings for a repository after it's added? I.e. username, password, etc.
I'm obtaining a temporary password for the ECR registry with
aws ecr get-login-password
and using the usernameAWS
.Currently I'm forced to manually disconnect from the ECR registry and re-add the registry URI so I can re-enter the username and password.
The text was updated successfully, but these errors were encountered: