Skip to content

Conversation

mreinsch
Copy link
Contributor

Copy link
Owner

@ericcj ericcj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What a wonderful simplification. Were you able to test that it works?

module AmzSpApi
class SpConfiguration < Configuration
attr_accessor :refresh_token, :client_id, :client_secret, :sandbox, :region,
:aws_access_key_id, :aws_secret_access_key, :credentials_provider, # either access key or credentials_provider for AWS Signer, e.g. Aws::STS::Client
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these incompatible API changes would force this to be part of a major version change whereas if we left them in place and even better added this we could roll it out in a patch

  extend Gem::Deprecate
  deprecate :aws_access_key_id=, :none, 2025, 1
  deprecate :aws_secret_access_key=, :none, 2025, 1
  deprecate :credentials_provider=, :none, 2025, 1

@mreinsch
Copy link
Contributor Author

@ericcj we've been using it like this since I opened the PR :-)

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