├── .all-contributorsrc ├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .eslintignore ├── .eslintrc.json ├── .github ├── dependabot.yml └── workflows │ ├── build.yml │ └── release.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── .releaserc.json ├── .tool-versions ├── LICENSE ├── README.md ├── infra ├── .gitignore ├── .npmignore ├── README.md ├── bin │ └── infra.ts ├── cdk.json ├── jest.config.js ├── lib │ ├── api.ts │ └── infra-stack.ts ├── package.json ├── test │ └── infra.test.ts └── tsconfig.json ├── jest.config.it.js ├── jest.config.js ├── package.json ├── renovate.json ├── src ├── __tests__ │ ├── apiGateway.it.ts │ ├── serverless.yml │ ├── setup.ts │ └── src │ │ └── index.js ├── axiosInterceptor.test.ts ├── credentials │ ├── assumeRoleCredentialsProvider.test.ts │ ├── assumeRoleCredentialsProvider.ts │ ├── credentialsProvider.ts │ ├── isCredentialsProvider.ts │ ├── simpleCredentialsProvider.test.ts │ └── simpleCredentialsProvider.ts ├── getAuthErrorMessage.test.ts ├── getAuthErrorMessage.ts ├── index.ts ├── interceptor.test.ts └── interceptor.ts └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | tsconfig.json 2 | src 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- 1 | { 2 | "branches": ["main"] 3 | } 4 | -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | nodejs 22.14.0 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/README.md -------------------------------------------------------------------------------- /infra/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/.gitignore -------------------------------------------------------------------------------- /infra/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/.npmignore -------------------------------------------------------------------------------- /infra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/README.md -------------------------------------------------------------------------------- /infra/bin/infra.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/bin/infra.ts -------------------------------------------------------------------------------- /infra/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/cdk.json -------------------------------------------------------------------------------- /infra/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/jest.config.js -------------------------------------------------------------------------------- /infra/lib/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/lib/api.ts -------------------------------------------------------------------------------- /infra/lib/infra-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/lib/infra-stack.ts -------------------------------------------------------------------------------- /infra/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/package.json -------------------------------------------------------------------------------- /infra/test/infra.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/test/infra.test.ts -------------------------------------------------------------------------------- /infra/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/infra/tsconfig.json -------------------------------------------------------------------------------- /jest.config.it.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/jest.config.it.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/renovate.json -------------------------------------------------------------------------------- /src/__tests__/apiGateway.it.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/__tests__/apiGateway.it.ts -------------------------------------------------------------------------------- /src/__tests__/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/__tests__/serverless.yml -------------------------------------------------------------------------------- /src/__tests__/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/__tests__/setup.ts -------------------------------------------------------------------------------- /src/__tests__/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/__tests__/src/index.js -------------------------------------------------------------------------------- /src/axiosInterceptor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/axiosInterceptor.test.ts -------------------------------------------------------------------------------- /src/credentials/assumeRoleCredentialsProvider.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/credentials/assumeRoleCredentialsProvider.test.ts -------------------------------------------------------------------------------- /src/credentials/assumeRoleCredentialsProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/credentials/assumeRoleCredentialsProvider.ts -------------------------------------------------------------------------------- /src/credentials/credentialsProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/credentials/credentialsProvider.ts -------------------------------------------------------------------------------- /src/credentials/isCredentialsProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/credentials/isCredentialsProvider.ts -------------------------------------------------------------------------------- /src/credentials/simpleCredentialsProvider.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/credentials/simpleCredentialsProvider.test.ts -------------------------------------------------------------------------------- /src/credentials/simpleCredentialsProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/credentials/simpleCredentialsProvider.ts -------------------------------------------------------------------------------- /src/getAuthErrorMessage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/getAuthErrorMessage.test.ts -------------------------------------------------------------------------------- /src/getAuthErrorMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/getAuthErrorMessage.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interceptor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/interceptor.test.ts -------------------------------------------------------------------------------- /src/interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/src/interceptor.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesmbourne/aws4-axios/HEAD/tsconfig.json --------------------------------------------------------------------------------