Created
May 23, 2012 11:18
-
-
Save arsatiki/2774633 to your computer and use it in GitHub Desktop.
A zip parser for eucalyptus credential files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: . cred <path to credentials zip> | |
CREDENTIALDIR=$(mktemp -dt euca-credentials-XXXXXX) | |
unzip -q "$1" -d $CREDENTIALDIR | |
. $CREDENTIALDIR/eucarc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment