Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow stderr passthrough for credential_process #1835

Closed

Commits on Sep 27, 2019

  1. Allow stderr passthrough for credential_process

    Many organizations now require MFA for AWS login, or perhaps fetch
    credentials from a command-line password manager. While `stdout` of
    the `credential_process` is used to acquire the credential token,
    `stderr` is captured for raising an exception back to the user.
    
    In order enable user-interaction with the credential provider process,
    it must have access to some stream the user can see: in this case,
    `stderr`. This commit provides that change.
    
    In order to maintain a relatively high level of backwards
    compatibility, we will continue to capture `stderr` for raising
    exceptions _unless_ `stderr` is reporting as being a TTY device, in
    which case we assume that user-interaction is more favorable than
    detailed exceptions.
    twooster committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    68c999a View commit details
    Browse the repository at this point in the history