Nike-Inc / gimme-aws-creds

A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials
Apache License 2.0
925 stars 263 forks source link

Send all user messages to STDERR when writing to credentials file #401

Closed epierce closed 1 year ago

epierce commented 1 year ago

Description

Running $(gimme-aws-creds) would fail when writing to a credentials file because notices to the user were written to STDOUT instead of STDERR. This change sends all messages to the user using STDERR.

Related Issue

156

How Has This Been Tested?

tested on macOS Ventura with Python 3.11

Types of changes

Checklist: