Skip to content

Commit

Permalink
base kmsauth token on bastion_user instead of remote_usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
djcrabhat committed Apr 30, 2017
1 parent d5a1c1f commit 073fdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bless/aws_lambda/bless_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def lambda_handler(event, context=None, ca_private_key_password=None,
)
# decrypt_token will raise a TokenValidationError if token doesn't match
validator.decrypt_token(
"2/user/{}".format(request.remote_usernames),
"2/user/{}".format(request.bastion_user),
request.kmsauth_token
)
except TokenValidationError as e:
Expand Down

0 comments on commit 073fdb4

Please sign in to comment.