Skip to content

Commit b5c2824

Browse files
Shorten credential provider chain comment based on review feedback
1 parent c190059 commit b5c2824

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

javascriptv3/example_code/ses/src/libs/sesClient.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ import { SESClient } from "@aws-sdk/client-ses";
1515
// Set the AWS Region.
1616
const REGION = "us-east-1";
1717
// Credentials are automatically resolved using the AWS SDK credential provider chain.
18-
// This includes:
19-
// - Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
20-
// - Shared credentials file (~/.aws/credentials)
21-
// - IAM roles attached to compute services such as Amazon EC2, ECS, or AWS Lambda.
22-
// See: https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html
18+
// For more information, see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html
2319
// Create SES service object.
2420
const sesClient = new SESClient({ region: REGION });
2521
export { sesClient };

0 commit comments

Comments
 (0)