Skip to content

Instantly share code, notes, and snippets.

@arsatiki
Created May 23, 2012 11:18
Show Gist options
  • Save arsatiki/2774633 to your computer and use it in GitHub Desktop.
Save arsatiki/2774633 to your computer and use it in GitHub Desktop.
A zip parser for eucalyptus credential files
# 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