-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Your environment
op-vscode version: v1.0.4
VS Code version: October 2023 (version 1.84)
CLI version: 2.23.0
OS: Mac OS
Steps to reproduce
- First I tried to add secret reference to settings.json
"rest-client.environmentVariables": {
"$shared": {
"version": "v1",
"basicAuth": ""
},
"1Password test": {
"username": "test",
"password": "op://Vault/uns2wilfuzxoh4n7nedihyaavu/password",
}
},- Then I tried direct usage in test.http file, one single value at a time
@host = https://example.com/api
@password = "op://Vault/uns2wilfuzxoh4n7nedihyaavu/password",
### login
# @name postLogin
POST {{ host }}/oauth/v1/token
Authorization: Basic op://Vault/uns2wilfuzxoh4n7nedihyaavu/token
Content-Type: application/json
{
"grant_type": "password",
"username": "op://Vault/uns2wilfuzxoh4n7nedihyaavu/username",
"password": "{{password}}"
}
REST plugin can be found here: https://marketplace.visualstudio.com/items?itemName=humao.rest-client
What happened?
The secret values were not used
What did you expect to happen?
I expected to work with the passwords from 1password
Notes & Logs
nozomiishii and fernandogsaatva
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request