Adjusts the LoadInitialisedProfile function to consistently initialise profiles, including those with a 'granted' prefix or a 'credential_process' key.
Why?
The initialisation now handles source_profile chains before any profile-specific logic is applied.
How did you test it?
Tested on both source_profile and non source_profile configurations. aws-azure-login was used for the source_profile, and the profile that uses the azure sso profile as the source was also tested.
Potential risks
This is my first PR for Go, feedback would be appreciated but also please check through properly!
What changed?
Adjusts the LoadInitialisedProfile function to consistently initialise profiles, including those with a 'granted' prefix or a 'credential_process' key.
Why?
The initialisation now handles source_profile chains before any profile-specific logic is applied.
How did you test it?
Tested on both source_profile and non source_profile configurations. aws-azure-login was used for the source_profile, and the profile that uses the azure sso profile as the source was also tested.
Potential risks
This is my first PR for Go, feedback would be appreciated but also please check through properly!
Link to relevant docs PRs
fixes #558