kangaechu / aws-vault-alfred-workflow

Alfred workflow to Open AWS in your browser via aws-vault
33 stars 5 forks source link

Support alternative AWS_VAULT_PROMPT values #10

Closed liamdawson closed 4 years ago

liamdawson commented 4 years ago

I use ykman for my aws-vault prompt, which means I use my Yubikey for 2FA. This change allows a workflow user to set the AWS_VAULT_PROMPT variable, which allows this workflow.

(It also uses /usr/libexec/path_helper -s to work out default system PATH etc., which removes the need to pass/guess the aws-vault path — otherwise I'd have needed to introduce the same thing for ykman)