MCPcopy Create free account
hub / github.com/api3dao/airnode / readAwsSecrets

Function readAwsSecrets

packages/airnode-examples/src/utils.ts:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 * @returns The contents of the "aws.env" file (throws if it doesn't exist)
43 */
44export const readAwsSecrets = () => {
45 const integrationInfo = readIntegrationInfo();
46
47 return parseEnvFile(readFileSync(join(__dirname, `../integrations/${integrationInfo.integration}/aws.env`)));
48};
49
50/**
51 * @returns The contents of the "secrets.env" file for the current integration (throws if it doesn't exist)

Callers 1

mainFunction · 0.85

Calls 1

readIntegrationInfoFunction · 0.85

Tested by

no test coverage detected