This is the same credential provider as default provider for Node.js SDK,
but with default role assumers so you don't need to import them from
STS client and supply them manually. You normally don't need to use this explicitly in the client constructor.
It is useful for utility functions requiring credentials like S3 presigner,
or RDS signer.
// For instance, to ignore the ini shared cache, change the credentials filepath for all // providers, and set the sso start id: ignoreCache:true, filepath:"~/.config/aws/credentials", ssoStartUrl:"https://d-abc123.awsapps.com/start"
// Optional. Custom STS client configurations overriding the default ones. clientConfig: { region }, // Optional. Custom STS client middleware plugin to modify the client default behavior. // e.g. adding custom headers. clientPlugins: [addFooHeadersPlugin], })
This is the same credential provider as default provider for Node.js SDK, but with default role assumers so you don't need to import them from STS client and supply them manually. You normally don't need to use this explicitly in the client constructor. It is useful for utility functions requiring credentials like S3 presigner, or RDS signer.