Skip to content

Commit

Permalink
test: config/accessKeyId
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Oct 27, 2023
1 parent 72a3e55 commit 0818103
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import AWS from "aws-sdk";

const client = new AWS.DynamoDB({
accessKeyId: "KEY",
secretAccessKey: "SECRET"
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { DynamoDB } from "@aws-sdk/client-dynamodb";

const client = new DynamoDB({
credentials: {
accessKeyId: "KEY",
secretAccessKey: "SECRET"
}
});

0 comments on commit 0818103

Please sign in to comment.