Skip to content

Partial fix (and actually test for) user agent modification#47

Merged
mattsb42-aws merged 3 commits intoaws:masterfrom
mattsb42-aws:user-agent
Apr 11, 2018
Merged

Partial fix (and actually test for) user agent modification#47
mattsb42-aws merged 3 commits intoaws:masterfrom
mattsb42-aws:user-agent

Conversation

@mattsb42-aws
Copy link
Member

@mattsb42-aws mattsb42-aws commented Apr 6, 2018

Issue #, if available: #25

Description of changes:

  • Simplify the user agent to just identify the client in general, not any specific MKP.
  • Use the correct method of setting the user agent for new clients.
  • Add default client building logic for KMSMasterKey to both simplify direct use of the class and make it more likely that any given client is using our user agent.
  • Actually test to make sure that the user agent is really being modified.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…his both makes KMSMasterKey simpler to use directly and makes it more likely that the client will use our user agent
@mattsb42-aws mattsb42-aws requested a review from a team April 6, 2018 19:39
@mattsb42-aws mattsb42-aws merged commit 7ca3bfa into aws:master Apr 11, 2018
@mattsb42-aws mattsb42-aws deleted the user-agent branch April 11, 2018 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants