├── .gitattributes ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .golangci.yml ├── .goreleaser.yml ├── CREDITS ├── LICENSE ├── Makefile ├── README.md ├── cmd └── awsmfa │ └── main.go ├── config.go ├── config_test.go ├── docker-compose.yml ├── go.mod ├── go.sum ├── install.sh ├── run.go ├── run_test.go └── testdata ├── .aws ├── config ├── config_2 ├── credentials └── credentials_2 └── want ├── config ├── config_2 ├── credentials └── credentials_2 /.gitattributes: -------------------------------------------------------------------------------- 1 | install.sh linguist-vendored 2 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/.golangci.yml -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /CREDITS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/CREDITS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/README.md -------------------------------------------------------------------------------- /cmd/awsmfa/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/cmd/awsmfa/main.go -------------------------------------------------------------------------------- /config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/config.go -------------------------------------------------------------------------------- /config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/config_test.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/go.sum -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/install.sh -------------------------------------------------------------------------------- /run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/run.go -------------------------------------------------------------------------------- /run_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/run_test.go -------------------------------------------------------------------------------- /testdata/.aws/config: -------------------------------------------------------------------------------- 1 | [default] 2 | region = us-east-1 3 | output = json 4 | -------------------------------------------------------------------------------- /testdata/.aws/config_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/testdata/.aws/config_2 -------------------------------------------------------------------------------- /testdata/.aws/credentials: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/testdata/.aws/credentials -------------------------------------------------------------------------------- /testdata/.aws/credentials_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/testdata/.aws/credentials_2 -------------------------------------------------------------------------------- /testdata/want/config: -------------------------------------------------------------------------------- 1 | [default] 2 | region = us-east-1 3 | output = json 4 | 5 | [profile mfa] 6 | 7 | -------------------------------------------------------------------------------- /testdata/want/config_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/testdata/want/config_2 -------------------------------------------------------------------------------- /testdata/want/credentials: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/testdata/want/credentials -------------------------------------------------------------------------------- /testdata/want/credentials_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/future-architect/awsmfa/HEAD/testdata/want/credentials_2 --------------------------------------------------------------------------------