Skip to content

Conversation

redsux
Copy link

@redsux redsux commented Jul 3, 2024

Prompt "Username" and "Password" login in stderr when using the --stdout flag.

This will ease usage of the JSON output without those prompt texts.
i.e. aws-adfs login ... --stdout > token.json

Or with AWS external credential process.

[profile adfs]
credential_process = sh -c 'aws-adfs login ... --stdout 2> /dev/tty'

Prompt "Username" and "Password" login in stderr when using the `--stdout` flag.  

This will ease usage of the JSON output without those world.  
i.e. `aws-adfs login ... --stdout > token`

Or with AWS external credential process.  
```ini
[profile adfs]
credential_process = sh -c 'aws-adfs login ... --stdout 2> /dev/tty'
```
@pdecat pdecat added enhancement python Pull requests that update Python code labels Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants