fix: remove aws-sdk dependency

This commit is contained in:
Daniel Hougaard
2025-06-06 21:01:45 +04:00
parent f32dad934b
commit 258256c722
5 changed files with 1648 additions and 427 deletions

13
test/aws_auth.ts Normal file
View File

@@ -0,0 +1,13 @@
import { InfisicalSDK } from "../src";
(async () => {
const client = new InfisicalSDK({
siteUrl: "https://app.infisical.com" // Optional, defaults to https://app.infisical.com
});
await client.auth().awsIamAuth.login({
identityId: "b1c540b8-4ca6-407e-8ce5-6696e8db50c4"
});
console.log(client.auth().getAccessToken());
})();