Skip to content

Instantly share code, notes, and snippets.

@marcosbrasil
Created April 26, 2013 14:08
Show Gist options
  • Save marcosbrasil/5467630 to your computer and use it in GitHub Desktop.
Save marcosbrasil/5467630 to your computer and use it in GitHub Desktop.
Configuração de ambiente (Windows) para conexão ao Amazon AWS command line.
@ECHO OFF
color 8e
echo ***************************************************************
echo * Configuration Enviroment for AMAZON AIM Command Line Prompt *
echo ***************************************************************
echo .
echo Created by Marcos Brasil - markus.prologic@gmail.com
echo ===============================================================
echo Setting AWS IAM HOME directory variable...
set AWS_IAM_HOME=C:\IAMCli-1.5.0
echo Setting JAVA HOME directory variable...
set JAVA_HOME="C:\Program Files (x86)\Java\jre7"
%JAVA_HOME%\bin\java -version
echo Setting path to Path Windows variable...
set Path=%AWS_IAM_HOME%\bin;%Path%
echo Setting path and file name with credential keys
set AWS_CREDENTIAL_FILE=%AWS_IAM_HOME%\aws-credential.template
echo ***************************************************************
echo END OF CONFIG...
echo ***************************************************************
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment