Comments (6)
[...] the secret storage went browser-only [...]
– #6450
from code-server.
IMHO more extensions should allow reading their token from an environment variable.
from code-server.
Set token with environment variables
If you often delete your VS Code storage (such as in Gitpod containers) you can create environment variables before starting VS Code. If you set the token in an environment variable you don't have to set the personal access token every time you delete your VS Code storage.
GITLAB_WORKFLOW_INSTANCE_URL
: GitLab instance URL (e.g.https://gitlab.com
).GITLAB_WORKFLOW_TOKEN
: personal access token, which you created during setup.The token configured in an environment variable is overridden if you configure a token for the same GitLab instance in the extension.
from code-server.
@code-asher @benz0li any thoughts on this?
from code-server.
We do patch user storage to go to disk instead of the browser so I think it would not be completely out of line to try moving secrets back to the disk as well, but I am not sure how easy it would be, and ideally we read both to prevent breaking existing secrets, or make it an option.
If it was made an option maybe we could even submit the idea upstream, surely Codespaces users might want to persist their credentials across multiple browsers/devices as well.
from code-server.
Although I guess upstream will probably just say to use settings sync, which is not an option for code-server from what I understand.
But does settings sync copy credentials as well? Not sure about that.
from code-server.
Related Issues (20)
- [Bug]: Tooltips do not disappear in Firefox HOT 3
- [Bug]:When starting the service with the --install-extension command, the code-server process will quickly end itself HOT 3
- [Feat]: add support for --disable-extensions HOT 1
- [Feat]: Add support for nodejs latest (v21) HOT 1
- [Bug]: Unexpected behavior in extension settings HOT 1
- Android: UserLAnd code-server docs causing error HOT 9
- Allow login with token similar to jupyter notebook server HOT 1
- Cannot use any plugin in code-server HOT 3
- Update Code to 1.88 HOT 2
- iPad can't use the terminal HOT 2
- Git | Source control extension always stuck on running or processing for too long blocking other tools HOT 4
- pylance can not work in code-server HOT 2
- Coder resets settings after some time HOT 4
- Java Pack Plugin does not detect JDK ? Broken HOT 1
- extension request HOT 2
- Jupyter ipynb file cannot work on iPad, but iphone displays properly. I have already configed https for code-server. HOT 3
- About sharing the same extension dir for different sytem platform HOT 1
- code server interactive window takes forever to load HOT 3
- 4.23.1 breaks within selfhosted coder instance HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code-server.