Skip to content

Commit

Permalink
Add session token
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgebastida committed Jun 24, 2015
1 parent 266559b commit 1e38d4b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions awslogs/bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ def add_common_arguments(parser):
default=None,
help="aws secret access key")

parser.add_argument("--aws-session-token",
dest="aws_session_token",
type=unicode,
default=None,
help="aws session token")

parser.add_argument("--aws-region",
dest="aws_region",
type=unicode,
Expand Down Expand Up @@ -129,6 +135,7 @@ def add_date_range_arguments(parser):
options = vars(options)
options['aws_access_key_id'] = 'SENSITIVE'
options['aws_secret_access_key'] = 'SENSITIVE'
options['aws_secret_access_key'] = 'SENSITIVE'
sys.stderr.write("\n")
sys.stderr.write("=" * 80)
sys.stderr.write("\nYou've found a bug! Please, raise an issue attaching the following traceback\n")
Expand Down

0 comments on commit 1e38d4b

Please sign in to comment.