I can't work out how to authenticate with secrets manager locally using a role. The examples I've seem to be using an old version of the nuget package (https://www.nuget.org/packages/AWSSDK.SecretsManager/) or just use a root profile, I think.
I think my main issue is that the permissions have been added to a role rather than my root profile, so the default behaviour of reading from local aws config doesn't do the trick.