Get aws login working and documented [stage 1] - #579
Draft
ianheggie-oaf wants to merge 7 commits into
Draft
Conversation
ianheggie-oaf
marked this pull request as ready for review
July 18, 2026 12:14
ianheggie-oaf
enabled auto-merge
July 18, 2026 12:14
10 tasks
benrfairless
requested changes
Jul 20, 2026
benrfairless
left a comment
Member
There was a problem hiding this comment.
Add MacOS Install instructions pls :)
…g lived credentials
…prerequisite and cli sections
ianheggie-oaf
force-pushed
the
feature/558-aws-login
branch
from
July 20, 2026 11:48
96adf4c to
f29cddd
Compare
Add brew instruction for session manager Co-authored-by: Ben Fairless <ben@oaf.org.au>
ianheggie-oaf
marked this pull request as draft
July 20, 2026 14:36
auto-merge was automatically disabled
July 20, 2026 14:36
Pull request was converted to draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use
aws loginwhich opens a browser session to authenticate with aws console login credentials including MFA where configured.This replaces
aws configureand/or env variables with long lived access keys. Instead temporary credentials (typically 12 hours) are generated.Using
aws sso loginis also deprecated because it is more complicated to setup per user.Related changes:
session-manager-pluginis installed so SSM sessions are available where SSM is configured on the server, eg:~/.aws/configso terraform can recognise the new credentials processMotivation and Context
To enable the use of MFA for authentication
To reduce the number of different credentials and IAM users needed
Making sure the required tools are installed to support:
IAM Users no longer need to have long lived access keys. It is suggested they be disabled first to confirm nothing breaks and later removed.
How Has This Been Tested?
Checked it detected my old aws version (
make aws-checkprints a messages and exits with status 1)Checked affected area manually on my own / staging system
Developed and tested on Ubuntu 24.04.4 LTS x86_64 with ruby installed by mise, mysql 8.0, redis 5:7.0, make 4.3
Ran automated tests on my own system
make lint,make aws-checkmake requirementsmakemake check-righttoknow STAGE=staging# for ansiblemake tf-planfor terraformConfirmed it passed the GitHub actions tests
Screenshots (if appropriate):
Types of Changes
Checklist: