Sample “op run” command for Windows cmd.exe
Hi. I read this official blog about using awscli with biometric sign in.
https://blog.1password.com/1password-cli-2_0/
alias aws="op run --env-file=$HOME/.config/op/aws-env -- aws"
I tried same things by using cmd.exe.
doskey aws=op run —env-file=%USERPROFILE%\.config\op\aws-env — aws $*
I hope this information can be shared and be useful.
1Password Version: 8
Extension Version: Not Provided
OS Version: Windows10
0
Comments
-
Hi @jody.h_1P.
Thank you for this.
I've gone ahead and filed a ticket with our docs team to consider adding this to our examples.
But sorry, there was a typo "—" instead of "--".
So, it should actually be:
doskey aws=op run --env-file=%USERPROFILE%\.config\op\aws-env -- aws $*
All the best.
0 -
💚
0
This discussion has been closed.