Optional contextOptional credentialsA credential provider to use for resolving access tokens. The default credential provider is the ChainedCredentialsProvider. All credential provider inputs may be configured via environmental variables.
Optional loggerA logger library compatible with Pino for logging in middleware layers.
Optional prefixThe environment variable prefix to use to load the credential provider
Optional retryConfigures the retry middleware. The default configuration will attempt one retry when the response contains a 401 HTTP status code.
The initial middleware execution context