Aws-vault: windows 10- Failed to run it with --server mode

Created on 6 Feb 2018  路  7Comments  路  Source: 99designs/aws-vault

Running aws-vault with --server mode is failing and show below error
aws-vault: error: exec: "": executable file not found in %PATH%

OS: Windows 10
Command used: aws-vault exec work --session-ttl=8h --assume-role-ttl=1h --server where `work is the profile name.

bug stale windows

All 7 comments

Could you try aws-vault exec work --session-ttl=8h --assume-role-ttl=1h --server -- CMD.EXE and let us know if that works?

Yes, that work

Needed the workaround suggested by @lox - but it seems like it's working otherwise!

Just one note: Powershell ISE doesn't work - not sure why.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I have the same problem actually. It can be fixed with the above command. Maybe we should detect whether we are running windows and command is an empty string and then just set command=cmd?

works with Cmder terminal as well
aws-vault exec dev-admin -- cmder.exe

and have the following environments:
image

Was this page helpful?
0 / 5 - 0 ratings