Skip to content

ProcessCredentialsProvider does not indicate why the process failed #3377

@Avinm

Description

@Avinm

Describe the feature

ProcessCredentialsProvider fails on non-zero exit code without providing any useful debugging info.
The provider could capture the stderr into the exception message/description

Use Case

To load credentials from an external process using the credential_process attribute in aws config file.

Proposed Solution

Capture the stderr into the exception message/description thrown from ProcessCredentialsProvider

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2,x

JDK version used

1.8

Operating System and version

Mac OS 12.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions