Static
newCreates a new default credentials provider to be used internally for AWS credentials resolution:
The CRT's default provider chain currently sources in this order:
1. Environment
2. Profile
3. (conditional, off by default) ECS
4. (conditional, on by default) EC2 Instance Metadata
(optional) client bootstrap to be used to establish any required network connections
a new credentials provider using default credentials resolution rules
Static
newCreates a new credentials provider that returns a fixed set of credentials.
access key to use in the static credentials
secret key to use in the static credentials
Optional
session_token: StringLike(optional) session token to use in the static credentials
a new credentials provider that will return a fixed set of AWS credentials
Static
newCreates a new credentials provider that sources credentials from the AWS Cognito Identity service via the GetCredentialsForIdentity http API.
provider configuration necessary to make GetCredentialsForIdentity web requests
a new credentials provider that returns credentials sourced from the AWS Cognito Identity service
Static
newCreates a new credentials provider that sources credentials from the the X509 service on AWS IoT Core.
provider configuration necessary to source credentials via X509
a new credentials provider that returns credentials sourced from the AWS X509 service
Generated using TypeDoc
Credentials providers source the AwsCredentials needed to sign an authenticated AWS request.
We don't currently expose an interface for fetching credentials from Javascript.