Next: , Previous: , Up: SDK for JavaScript Documentation   [Index]


Configuring the SDK for JavaScript

https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/configuring-the-jssdk.html

Before you use the SDK for JavaScript to invoke web services using the API, you must configure the SDK. At a minimum, you must configure these settings:

In addition to these settings, you may also have to configure permissions for your AWS resources. For example, you can limit access to an Amazon S3 bucket or restrict an Amazon DynamoDB table for read-only access.

The topics in this section describe various ways to configure the SDK for JavaScript for Node.js and JavaScript running in a web browser.


Footnotes

(1)

We do not recommend hard coding your AWS credentials in your scripts. Hard coding credentials poses a risk of exposing your access key ID and secret access key.


Next: , Previous: , Up: SDK for JavaScript Documentation   [Index]