Skip to content

Commit

Permalink
Merge pull request #15 from quiver/delegate-credential-handling-to-aw…
Browse files Browse the repository at this point in the history
…s-sdk

Delegate AWS credential handling to AWS SDK
  • Loading branch information
russell-lewis authored Jul 25, 2016
2 parents 5846d2a + 1fd9aa6 commit caa8948
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bless_client/bless_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ def main(argv):
'Usage: bless_client.py region lambda_function_name bastion_user bastion_user_ip remote_username bastion_source_ip bastion_command <id_rsa.pub to sign> <output id_rsa-cert.pub>')
return -1

if 'AWS_SECRET_ACCESS_KEY' not in os.environ:
print ('You need AWS credentials in your environment')
return -1

region = argv[0]

with open(argv[7], 'r') as f:
Expand Down

0 comments on commit caa8948

Please sign in to comment.