Skip to content

Process credentials list of strings args - #5033

Merged
davidh44 merged 9 commits into
masterfrom
hdavidh/process-creds-list-of-strings
Apr 8, 2024
Merged

davidh44 merged 9 commits into
masterfrom
hdavidh/process-creds-list-of-strings

Conversation

@davidh44

@davidh44 davidh44 commented Mar 22, 2024 •

Copy link
Copy Markdown
Contributor

Motivation and Context

Currently, setting an executable command on the ProcessCredentialsProvider is done by passing a single String, which will be executed in a shell.

Modifications

Add a setter to pass in an executable command using a list-of-Strings, which will be executed not-in-a-shell.
Deprecating the use of the single-String setter.

Testing

Added unit test

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

@davidh44
davidh44 marked this pull request as ready for review March 28, 2024 23:46
@davidh44
davidh44 requested a review from a team as a code owner March 28, 2024 23:46
@joviegas

Copy link
Copy Markdown
Collaborator

Can we please mention the motivation and some details for this PR

@sonarqubecloud

sonarqubecloud Bot commented Apr 8, 2024

Copy link
Copy Markdown

@davidh44
davidh44 enabled auto-merge (squash) April 8, 2024 22:06
@davidh44
davidh44 merged commit 7a27fe5 into master Apr 8, 2024
@davidh44
davidh44 deleted the hdavidh/process-creds-list-of-strings branch April 8, 2024 22:20
akidambisrinivasan pushed a commit to akidambisrinivasan/aws-sdk-java-v2 that referenced this pull request Jun 28, 2024
* Process credentials list of strings args

* Address comments

* Deprecate single-string command setter

* Update javadocs

* Update javadocs

* Add unit test
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.

4 participants