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

feat(aws): remove saml2aws support #384

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

malept
Copy link
Member

@malept malept commented Oct 25, 2023

What this PR does / why we need it

Remove the code to support use of saml2aws for AWS credentials as Outreach no longer uses it, while retaining the refactor to allow future non-okta-aws-cli implementations if necessary.

Notes for your reviewers

This doesn't completely remove all traces of saml2aws as we still use their AWS credentials reader API to see if the credentials are expired.

@malept malept requested a review from a team as a code owner October 25, 2023 20:39
@swarmia
Copy link

swarmia bot commented Oct 25, 2023

@malept malept merged commit dddec51 into main Oct 25, 2023
1 check passed
@malept malept deleted the malept/dt-4072/feat-remove-saml2aws-support branch October 25, 2023 21:44
@getoutreach-ci-1
Copy link
Contributor

🎉 This PR is included in version 1.82.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

malept added a commit that referenced this pull request Nov 6, 2023
## What this PR does / why we need it

Fixes a regression in #384 and adds support for v2 of okta-aws-cli by
checking the output of `okta-aws-cli --version`.

Also updates the call to `okta-aws-cli` to directly set the appropriate
`OKTA_*` environment variables from the box config, instead of relying
on the parent shell environment. This caused problems when the external
dependency that pulled the values from the box config into the shell
environment broke on macOS.

## Jira ID

[DT-4091]

[DT-4091]:
https://outreach-io.atlassian.net/browse/DT-4091?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: Jared Allard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants