-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add support for remote development #99
Comments
Hey @PhoenixmitX! Thanks for the request. This is indeed an interesting feature request. It's a little tricky because the extension relies on the CLI, which (in our case) relies on 1Password Desktop itself to perform biometric authentication. In the future we may support Connect server or Service Accounts which may solve this as well. |
I would love this feature! Currently testing different Password managers and this would definitely be sensational. |
I would also love to see this feature! Thanks for your hard work, @jodyheavener! |
+1 for this feature. Thank you |
I'd like to add that service accounts aren't ideal bc you now have long lived credentials on developer machines. Ideally a developer can connect to 1Password from inside a container but auth via the desktop app on the host. Such as biometrics. |
It would be really nice to have access/proxy through the On Linux I can easily add a mount to pull it in, but that does not work for my colleagues on other operating systems. |
@DavidS-ovm That's interesting. We have a similar worklfow where we often work on a remote docker container. I was wondering how you acchieved this access/proxy. Did you use a reverse ssh tunnel? |
No, I'm now using a service account token inside the container that I inject through |
It would be great to have requests provided through ex vscode tunnels. Currently running windows machines, so my options are ultimately limited. It kinda sucks to have to TeamViewer into my desktop to allow my code to be committed... |
It partially works if you force to run extension on host ( {
"customizations": {
"vscode": {
"settings": {
"remote.extensionKind": {
"1Password.op-vscode": [
"ui"
]
}
},
"extensions": [
"1Password.op-vscode"
]
}
}
} Make sure that Sad part is that
Maybe it will work if P. S. This works (in echo 'op://Private/GITHUB_TOKEN/FINE_GRAINED' | op inject |
Create TF_VAR_github_token = op://VAULT_NAME/GITHUB_TOKEN/FINE_GRAINED Create launcher of your choice, for example with PowerShell: # Define the path to your .env file
$envFilePath = "./.env"
# Define the command to execute
$command = "op run --env-file='$envFilePath' -- code ."
# Execute the command
Invoke-Expression $command Update
Run PowerShell as Administrator and execute this: Set-ExecutionPolicy RemoteSigned Start VS Code: .\op.ps1 Wipe tears of joy: printenv TF_VAR_github_token
github_pat_... |
Summary
Add support for remote development
Use cases
Well support for everyone who codes in a remote environment like
Proposed solution
The extension need to be loaded on the remote development container and at the client.
The remove container sends throw the client the request to the op cli
for vscode instances running on the browser at the client some other solution may be required.
A solution may be to use the browser extensions instead
Is there a workaround to accomplish this today?
Sadly i don't know a workaround
References & Prior Work
¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered: