We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
emvironment: Windows 10, command prompt
.aws/config file:
[profile common] region=ap-northeast-1 output=json mfa_serial=arn:aws:iam::111111111111:mfa/xxxxxxxxx mfa_process=op read "op://Private/xxxxxxxx?attribute=otp" role_session_name=xxxxxxxxx`
executed command: aws-vault exec common --json --prompt=terminal
aws-vault exec common --json --prompt=terminal
result: aws-vault: error: exec: Failed to get credentials for common: process provider: exec: "/bin/sh": file does not exist
aws-vault: error: exec: Failed to get credentials for common: process provider: exec: "/bin/sh": file does not exist
note: If I delete mfa_process=op read "op://Private/xxxxxxxx?attribute=otp"from config, it worked.
mfa_process=op read "op://Private/xxxxxxxx?attribute=otp"
I believe the issue lies in specifying only "/bin/sh" in the code below.
aws-vault/vault/mfa.go
Line 50 in e22aea1
I think it will work if it support multiple OS like the code below.
aws-vault/cli/exec.go
Lines 327 to 331 in e22aea1
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Sorry, something went wrong.
No branches or pull requests
emvironment:
Windows 10, command prompt
.aws/config file:
executed command:
aws-vault exec common --json --prompt=terminal
result:
aws-vault: error: exec: Failed to get credentials for common: process provider: exec: "/bin/sh": file does not exist
note:
If I delete
mfa_process=op read "op://Private/xxxxxxxx?attribute=otp"
from config, it worked.I believe the issue lies in specifying only "/bin/sh" in the code below.
aws-vault/vault/mfa.go
Line 50 in e22aea1
I think it will work if it support multiple OS like the code below.
aws-vault/cli/exec.go
Lines 327 to 331 in e22aea1
The text was updated successfully, but these errors were encountered: