You are viewing the documentation for an older major version of the AWS SDK for JavaScript.
The modular AWS SDK for JavaScript (v3), the latest major version of AWS SDK for JavaScript, is now stable and recommended for general use.
For more information, see the
Migration Guide and
API Reference.
Class: AWS.AnonymousCredentials
- Inherits:
-
AWS.Credentials
- Object
- AWS.Credentials
- AWS.AnonymousCredentials
- Defined in:
- lib/credentials/anonymous_credentials.js
Overview
Represents anonymous credentials, which do not require any authentication.
This can be used for Anonymous Access against buckets configured for anonymous operations.
Constructor Summary collapse
-
new AWS.AnonymousCredentials() ⇒ void
constructor
Creates a new AnonymousCredentials class.
Property Summary
Properties inherited from AWS.Credentials
expired, expireTime, accessKeyId, secretAccessKey, sessionToken, expiryWindow
Method Summary collapse
-
refresh(callback) ⇒ void
Stub to satisfy the credentials provider chain.
Methods inherited from AWS.Credentials
needsRefresh, get, getPromise, refreshPromise
Constructor Details
new AWS.AnonymousCredentials() ⇒ void
Creates a new AnonymousCredentials class.
Method Details
refresh(callback) ⇒ void
Stub to satisfy the credentials provider chain.