1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
LoadDefaultConfig
will accept any number of the LoadOptions
(With...
) functions as arguments. You should be able to do:
cfg, err := config.LoadDefaultConfig(context.TODO(), config.WithSharedConfigProfile("saml"), config.WithRegion("us-east-1"))
There's an example here: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/config#example-package-Custom_config.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 6 mois
- Réponse acceptéedemandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
Ooooh right how could I miss this! Thanks.