sachin p
sachin p

Reputation: 73

AWS creadential provider using strings

Is there are way to directly provide aws credentials as strings to AWS CredentialProvider using aws JS SDK v3?

I am using the following code, and instead of using environment variables, I want to directly pass the credentials as string. Is there a way to do this?

   const client = new SFNClient({region:'us-east-1',
   credentials: fromEnv()});

Upvotes: 1

Views: 38

Answers (0)

Related Questions