Skip to content

Commit

Permalink
Remove IAM response logging
Browse files Browse the repository at this point in the history
We don't want to log potentially-sensitive information in the
authentication responses from IAM (eg. token).
  • Loading branch information
sgnn7 committed Feb 19, 2019
1 parent c502e83 commit 93815b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/domain/authentication/authn_iam/authenticator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def aws_signed_url

def response_from_signed_request(aws_headers)
Rails.logger.debug("Retrieving IAM identity")
RestClient.log = Rails.logger
begin
RestClient.get(aws_signed_url, headers = aws_headers)
rescue RestClient::ExceptionWithResponse => e
Expand Down

0 comments on commit 93815b5

Please sign in to comment.