SecretManagement.1Password icon indicating copy to clipboard operation
SecretManagement.1Password copied to clipboard

Test-SecretVault does not store sign-in token in env var if timeout exceeded

Open DonPwrShellHunt opened this issue 5 years ago • 1 comments

Scenario

  • Use Test-SecretVault to trigger authentication
  • Sign-in token gets put in env variable
  • Do stuff - after 30 minutes the token expires
  • Use Test-SecretVault to trigger authentication again
  • Token is not retrieved & refreshed in env var
# Suggest following syntax for statement 39
$token = & op signin $accountName --raw

DonPwrShellHunt avatar Nov 20 '20 13:11 DonPwrShellHunt

Relates to #2

cdhunt avatar Nov 20 '20 13:11 cdhunt