MCPcopy Index your code
hub / github.com/simstudioai/sim / getAwsCredentialsFromEnv

Function getAwsCredentialsFromEnv

apps/sim/lib/core/config/aws.ts:17–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 * the instance/task role.
16 */
17export function getAwsCredentialsFromEnv(): AwsCredentials | undefined {
18 return env.AWS_ACCESS_KEY_ID && env.AWS_SECRET_ACCESS_KEY
19 ? {
20 accessKeyId: env.AWS_ACCESS_KEY_ID,
21 secretAccessKey: env.AWS_SECRET_ACCESS_KEY,
22 }
23 : undefined
24}

Callers 2

getClientFunction · 0.90
getS3ClientFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected