author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
1,409 | 17.08.2020 15:29:23 | -36,000 | ecd1502a77be8f8ea456f0229e780615fe6dbe44 | Add OIDC token caching | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "vault/oidctokenkeyring.go",
"diff": "+package vault\n+\n+import (\n+ \"encoding/json\"\n+ \"fmt\"\n+ \"log\"\n+ \"time\"\n+\n+ \"github.com/99designs/keyring\"\n+ \"github.com/aws/aws-sdk-go/service/ssooidc\"\n+)\n+\n+type OIDCTokenKeyring struc... | Go | MIT License | 99designs/aws-vault | Add OIDC token caching |
1,409 | 17.08.2020 16:50:06 | -36,000 | 4d21a451b01948dfc42f15d2810e25e5fb485fd3 | Clarify credential_process | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -416,7 +416,7 @@ web_identity_token_process = oidccli raw\n## Using credential helper\n-The AWS CLI config now supports sourcing credentials directly from an external process, like aws-vault!\n+The AWS CLI config ... | Go | MIT License | 99designs/aws-vault | Clarify credential_process |
1,409 | 17.08.2020 19:23:26 | -36,000 | 7572b93daed03c44a3b984913bced6ebdb2dca80 | Make cli options order consistent | [
{
"change_type": "MODIFY",
"old_path": "cli/global.go",
"new_path": "cli/global.go",
"diff": "@@ -85,6 +85,7 @@ func ConfigureGlobals(app *kingpin.Application) *AwsVault {\nBoolVar(&a.Debug)\napp.Flag(\"backend\", fmt.Sprintf(\"Secret backend to use %v\", backendsAvailable)).\n+ Default(backendsAvai... | Go | MIT License | 99designs/aws-vault | Make cli options order consistent |
1,409 | 18.08.2020 13:18:54 | -36,000 | 620f7e5f3d735743ce9b4e9a6d656b058bbf32b0 | Fix pattern to match all paths | [
{
"change_type": "MODIFY",
"old_path": "server/ec2proxy.go",
"new_path": "server/ec2proxy.go",
"diff": "@@ -42,7 +42,7 @@ func StartProxy() error {\n}\nos.Exit(0)\n})\n- handler.Handle(\"*\", httputil.NewSingleHostReverseProxy(localServerURL))\n+ handler.Handle(\"/\", httputil.NewSingleHostReversePr... | Go | MIT License | 99designs/aws-vault | Fix pattern to match all paths |
1,409 | 18.08.2020 13:40:01 | -36,000 | fb37986fdd32166912681b0f72395389d9f0fb2f | Handle shutdown via kill properly | [
{
"change_type": "MODIFY",
"old_path": "cli/proxy.go",
"new_path": "cli/proxy.go",
"diff": "package cli\nimport (\n+ \"os\"\n+ \"os/signal\"\n+ \"syscall\"\n+\n\"github.com/99designs/aws-vault/v6/server\"\n\"github.com/alecthomas/kingpin\"\n)\n@@ -20,7 +24,19 @@ func ConfigureProxyCommand(app *kingp... | Go | MIT License | 99designs/aws-vault | Handle shutdown via kill properly |
1,327 | 18.08.2020 01:43:30 | 14,400 | befc56183acf7aef58981ee6274bcf792e7ced8c | Handle OIDC caching for new keyring entries
Avoid erroring out when:
* There is no existing OIDC entry in the keyring
* A new OIDC token has been created and cached | [
{
"change_type": "MODIFY",
"old_path": "vault/ssorolecredentialsprovider.go",
"new_path": "vault/ssorolecredentialsprovider.go",
"diff": "@@ -6,6 +6,7 @@ import (\n\"os\"\n\"time\"\n+ \"github.com/99designs/keyring\"\n\"github.com/aws/aws-sdk-go/aws\"\n\"github.com/aws/aws-sdk-go/aws/awserr\"\n\"git... | Go | MIT License | 99designs/aws-vault | Handle OIDC caching for new keyring entries
Avoid erroring out when:
* There is no existing OIDC entry in the keyring
* A new OIDC token has been created and cached |
1,409 | 18.08.2020 18:34:06 | -36,000 | 1e4e903191eeffbf191a0c99cce7dc38752c9b6a | Fix check for cache | [
{
"change_type": "MODIFY",
"old_path": "vault/ssorolecredentialsprovider.go",
"new_path": "vault/ssorolecredentialsprovider.go",
"diff": "@@ -95,11 +95,13 @@ func (p *SSORoleCredentialsProvider) getOIDCToken() (token *ssooidc.CreateTokenO\nreturn nil, err\n}\n+ if p.OIDCTokenCache != nil {\nerr = p.... | Go | MIT License | 99designs/aws-vault | Fix check for cache |
1,412 | 20.08.2020 14:20:40 | 25,200 | 7dc75390ee7853181b0c8d22dffe461a405fd327 | When the `--json` flag is missing the process hangs
On OSX specifically the process hangs when the `--json` portion is excluded. From what I can tell running the command manually it opens a shell if you don't pass `--json`. | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -435,7 +435,7 @@ Note that `credential_process` is designed for retrieving master credentials, wh\n```ini\n[profile jon]\n-credential_process = aws-vault exec --no-session jon\n+credential_process = aws-vault exec... | Go | MIT License | 99designs/aws-vault | When the `--json` flag is missing the process hangs
On OSX specifically the process hangs when the `--json` portion is excluded. From what I can tell running the command manually it opens a shell if you don't pass `--json`. |
1,426 | 24.08.2020 22:30:30 | 25,200 | 0f727d799a239dc86619384df296310f7b7af407 | Add pass-otp as an otp prompt | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "prompt/passotp.go",
"diff": "+package prompt\n+\n+import (\n+ \"fmt\"\n+ \"log\"\n+ \"os\"\n+ \"os/exec\"\n+ \"strings\"\n+)\n+\n+// PassOTPProvider uses the pass otp extension to generate a OATH-TOTP token\n+// To set up pass otp, first create ... | Go | MIT License | 99designs/aws-vault | Add pass-otp as an otp prompt |
1,327 | 27.08.2020 10:46:05 | 14,400 | e7d832f2e8765ba4480f80e8ffb66e490f78fbdd | Return key not found for expired OIDC tokens
When attempting to fetch an expired OIDC token, remove the token from
the cache and return a not found error. This is conceptually similar to the
behavior of the session keyring, which has a dedicated garbage collection
step to remove expired keys before performing lookups. | [
{
"change_type": "MODIFY",
"old_path": "vault/oidctokenkeyring.go",
"new_path": "vault/oidctokenkeyring.go",
"diff": "@@ -37,7 +37,7 @@ func (o OIDCTokenKeyring) Get(startURL string) (*ssooidc.CreateTokenOutput, erro\nif time.Now().After(val.Expiration) {\nlog.Printf(\"OIDC token for '%s' expired, r... | Go | MIT License | 99designs/aws-vault | Return key not found for expired OIDC tokens
When attempting to fetch an expired OIDC token, remove the token from
the cache and return a not found error. This is conceptually similar to the
behavior of the session keyring, which has a dedicated garbage collection
step to remove expired keys before performing lookups. |
1,384 | 17.05.2020 11:18:31 | -10,800 | 3998c9c2c9296155aef9b90556e47d6b773d2841 | Implement clear-cache command | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -276,9 +276,11 @@ $ aws-vault login work\n### Removing stored sessions\n-If you want to remove sessions managed by `aws-vault` before they expire, you can do this with the `--sessions-only` flag.\n+If you want to ... | Go | MIT License | 99designs/aws-vault | Implement clear-cache command |
1,409 | 29.08.2020 17:09:51 | -36,000 | 8a4a974b1c5458eb1f91cf8ddf7c950a94e4afaa | Rename subcommand | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -276,11 +276,11 @@ $ aws-vault login work\n### Removing stored sessions\n-If you want to remove sessions managed by `aws-vault` before they expire, you can do this with `aws-vault clear-cache` command.\n+If you wa... | Go | MIT License | 99designs/aws-vault | Rename subcommand |
1,409 | 29.08.2020 17:10:55 | -36,000 | 1b1305ed8c4bbaf907c2a4d21033d4116ea96871 | Update other commands to work consistently | [
{
"change_type": "MODIFY",
"old_path": "cli/add.go",
"new_path": "cli/add.go",
"diff": "@@ -21,13 +21,13 @@ type AddCommandInput struct {\nfunc ConfigureAddCommand(app *kingpin.Application, a *AwsVault) {\ninput := AddCommandInput{}\n- cmd := app.Command(\"add\", \"Adds credentials, prompts if none ... | Go | MIT License | 99designs/aws-vault | Update other commands to work consistently |
1,409 | 29.08.2020 17:42:06 | -36,000 | 59c2d476f3a897bfad439f42cf9e6596b3cbd916 | Fix clearing oidc tokens from a profile | [
{
"change_type": "MODIFY",
"old_path": "cli/clear.go",
"new_path": "cli/clear.go",
"diff": "@@ -26,13 +26,18 @@ func ConfigureClearCommand(app *kingpin.Application, a *AwsVault) {\nif err != nil {\nreturn err\n}\n- err = ClearCommand(input, keyring)\n+ awsConfigFile, err := a.AwsConfigFile()\n+ if e... | Go | MIT License | 99designs/aws-vault | Fix clearing oidc tokens from a profile |
1,409 | 29.08.2020 18:37:34 | -36,000 | 425035bacc43010fa1b18ff7b4d2c4ca0cbd0268 | Fix gc strategy to ensure we don't return expired credentials | [
{
"change_type": "MODIFY",
"old_path": "vault/sessionkeyring.go",
"new_path": "vault/sessionkeyring.go",
"diff": "@@ -127,7 +127,7 @@ func (sk *SessionKeyring) Has(key SessionMetadata) (bool, error) {\n}\nfunc (sk *SessionKeyring) Get(key SessionMetadata) (val *sts.Credentials, err error) {\n- sk.Ga... | Go | MIT License | 99designs/aws-vault | Fix gc strategy to ensure we don't return expired credentials |
1,409 | 29.08.2020 20:16:39 | -36,000 | 2e8df9e12680c2f124f9aa578da0e16ac121a358 | Fix error returned by OIDCTokenKeyring | [
{
"change_type": "MODIFY",
"old_path": "vault/oidctokenkeyring.go",
"new_path": "vault/oidctokenkeyring.go",
"diff": "@@ -54,7 +54,8 @@ func (o OIDCTokenKeyring) Get(startURL string) (*ssooidc.CreateTokenOutput, erro\nval := OIDCTokenData{}\nif err = json.Unmarshal(item.Data, &val); err != nil {\n- ... | Go | MIT License | 99designs/aws-vault | Fix error returned by OIDCTokenKeyring |
1,409 | 29.08.2020 21:20:08 | -36,000 | 14f586c81ca280f2082c686b18925ddfc125dffa | Create new sessions the same way | [
{
"change_type": "MODIFY",
"old_path": "cli/rotate.go",
"new_path": "cli/rotate.go",
"diff": "@@ -98,7 +98,7 @@ func RotateCommand(input RotateCommandInput, f *vault.ConfigFile, keyring keyrin\n}\n}\n- sess, err := vault.NewSession(sessCreds, config.Region)\n+ sess, err := vault.NewSessionWithCreds(... | Go | MIT License | 99designs/aws-vault | Create new sessions the same way |
1,409 | 30.08.2020 10:42:52 | -36,000 | 6f2b10afb59253ff5733bf61c675a97640690d19 | Fix extra session appearing in list | [
{
"change_type": "MODIFY",
"old_path": "cli/list.go",
"new_path": "cli/list.go",
"diff": "@@ -99,7 +99,7 @@ func ListCommand(input ListCommandInput, awsConfigFile *vault.ConfigFile, keyrin\nallSessionLabels = append(allSessionLabels, fmt.Sprintf(\"oidc:%s\", t))\n}\nfor _, sess := range sessions {\n... | Go | MIT License | 99designs/aws-vault | Fix extra session appearing in list |
1,409 | 30.08.2020 10:47:17 | -36,000 | 41948b602fc2ef3c875f8b3458efe24c9fb3bcf4 | Update exec --json help | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -71,7 +71,7 @@ func ConfigureExecCommand(app *kingpin.Application, a *AwsVault) {\nShort('t').\nStringVar(&input.Config.MfaToken)\n- cmd.Flag(\"json\", \"AWS credential helper. Ref: https://docs.aws.amazon.c... | Go | MIT License | 99designs/aws-vault | Update exec --json help |
1,409 | 30.08.2020 10:51:36 | -36,000 | 3f95bafce3d563ff15a64559f2d3880be900f89f | Update clear help message | [
{
"change_type": "MODIFY",
"old_path": "cli/clear.go",
"new_path": "cli/clear.go",
"diff": "@@ -15,7 +15,7 @@ type ClearCommandInput struct {\nfunc ConfigureClearCommand(app *kingpin.Application, a *AwsVault) {\ninput := ClearCommandInput{}\n- cmd := app.Command(\"clear\", \"Clear cached short-term ... | Go | MIT License | 99designs/aws-vault | Update clear help message |
1,370 | 02.07.2020 15:41:40 | 25,200 | f422591e3a9900791a165431fba8fb7662a314f1 | Refresh cached credentials if expired
It does not make sense to return cached expired credentials; it
causes failures for the caller. | [
{
"change_type": "MODIFY",
"old_path": "vault/cachedsessionprovider.go",
"new_path": "vault/cachedsessionprovider.go",
"diff": "@@ -22,8 +22,15 @@ type CachedSessionProvider struct {\n// generates a new set of temporary credentials using the CredentialsFunc\nfunc (p *CachedSessionProvider) Retrieve(... | Go | MIT License | 99designs/aws-vault | Refresh cached credentials if expired
It does not make sense to return cached expired credentials; it
causes failures for the caller. |
1,409 | 30.08.2020 12:45:44 | -36,000 | f0a9370b2985a3787823d8e69f428354199bc68c | The expiry window determines whether stored creds should be used | [
{
"change_type": "MODIFY",
"old_path": "vault/cachedsessionprovider.go",
"new_path": "vault/cachedsessionprovider.go",
"diff": "@@ -23,14 +23,8 @@ type CachedSessionProvider struct {\nfunc (p *CachedSessionProvider) Retrieve() (credentials.Value, error) {\ncreds, err := p.Keyring.Get(p.SessionKey)\n... | Go | MIT License | 99designs/aws-vault | The expiry window determines whether stored creds should be used |
1,409 | 30.08.2020 13:15:44 | -36,000 | 48d28619e09b08a64a4f186beb722c13d000ccdf | Add AWS_MIN_TTL to set expiry window | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -127,6 +127,7 @@ To override session durations (used in `exec` and `login`):\n* `AWS_CHAINED_SESSION_TOKEN_TTL`: Expiration time for the `GetSessionToken` credentials when chaining profiles. Defaults to 8h\n* `AWS... | Go | MIT License | 99designs/aws-vault | Add AWS_MIN_TTL to set expiry window |
1,409 | 01.09.2020 13:48:58 | -36,000 | 56986dee624f64b6b83c9ac12339fe053f5f407f | Report number of cleared sessions more accurately | [
{
"change_type": "MODIFY",
"old_path": "cli/clear.go",
"new_path": "cli/clear.go",
"diff": "@@ -40,9 +40,13 @@ func ConfigureClearCommand(app *kingpin.Application, a *AwsVault) {\nfunc ClearCommand(input ClearCommandInput, awsConfigFile *vault.ConfigFile, keyring keyring.Keyring) error {\nsessions :... | Go | MIT License | 99designs/aws-vault | Report number of cleared sessions more accurately |
1,423 | 08.09.2020 18:38:24 | 18,000 | 6c183b886a1e446e9f651ed46dd2cb5d6c6f25df | newline added to end of parent_profile deprecation warning | [
{
"change_type": "MODIFY",
"old_path": "vault/config.go",
"new_path": "vault/config.go",
"diff": "@@ -324,7 +324,7 @@ func (cl *ConfigLoader) populateFromConfigFile(config *Config, profileName strin\n}\nif psection.ParentProfile != \"\" {\n- fmt.Fprint(os.Stderr, \"Warning: parent_profile is depreca... | Go | MIT License | 99designs/aws-vault | newline added to end of parent_profile deprecation warning |
1,409 | 11.09.2020 20:51:31 | -36,000 | eb221b3ad7364ff038204891f27d0e10fd0be540 | Add a function to format times compatible with aws sdks | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -12,6 +12,7 @@ import (\n\"syscall\"\n\"time\"\n+ \"github.com/99designs/aws-vault/v6/iso8601\"\n\"github.com/99designs/aws-vault/v6/server\"\n\"github.com/99designs/aws-vault/v6/vault\"\n\"github.com/99desi... | Go | MIT License | 99designs/aws-vault | Add a function to format times compatible with aws sdks |
1,409 | 12.09.2020 06:39:57 | -36,000 | 1dfeb25864be52dc706b26de072909c57ca94744 | Use iso8601 helper | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -234,7 +234,7 @@ func execCredentialHelper(input ExecCommandInput, config *vault.Config, creds *c\n}\nif credsExpiresAt, err := creds.ExpiresAt(); err == nil {\n- credentialData.Expiration = credsExpiresAt.U... | Go | MIT License | 99designs/aws-vault | Use iso8601 helper |
1,409 | 12.09.2020 22:47:00 | -36,000 | 8251414876b383ee5a074122c82a65c8511bff6f | Improve docs around usage of mfa_serial | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -334,6 +334,7 @@ AWS Vault will attempt to re-use a `GetSessionToken` between profiles that share\n```ini\n[profile tom]\n+mfa_serial = arn:aws:iam::111111111111:mfa/tom\n[profile role1]\nsource_profile = tom\n@@ ... | Go | MIT License | 99designs/aws-vault | Improve docs around usage of mfa_serial |
1,409 | 12.09.2020 22:48:36 | -36,000 | ddd3e5fe2049fe6c9f1c75c2f7cf671aa65767bc | Add new compile targets | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -14,7 +14,7 @@ install: aws-vault\ncp -a ./aws-vault $(INSTALL_DIR)\ncodesign --options runtime --timestamp --sign \"$(CERT_ID)\" $(INSTALL_DIR)/aws-vault || true\n-binaries: aws-vault-linux-amd64 aws-vault-linux-... | Go | MIT License | 99designs/aws-vault | Add new compile targets |
1,409 | 03.09.2020 21:26:43 | -36,000 | bfa5f2f991a0d78772d9deefeaf77009087126e1 | Hack around DNS resolution issues on Android | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -14,7 +14,7 @@ install: aws-vault\ncp -a ./aws-vault $(INSTALL_DIR)\ncodesign --options runtime --timestamp --sign \"$(CERT_ID)\" $(INSTALL_DIR)/aws-vault || true\n-binaries: aws-vault-linux-amd64 aws-vault-linux-... | Go | MIT License | 99designs/aws-vault | Hack around DNS resolution issues on Android |
1,409 | 07.09.2020 19:52:16 | -36,000 | d4887cef76443beb5b803caca0de8e12f0243b46 | Build a static version of the android binary | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -41,7 +41,7 @@ aws-vault-linux-arm7: $(SRC)\nGOOS=linux GOARCH=arm GOARM=7 go build $(BUILD_FLAGS) -o $@ .\naws-vault-android-arm64: $(SRC)\n- GOOS=android GOARCH=arm64 go build $(BUILD_FLAGS) -o $@ .\n+ GOOS=linu... | Go | MIT License | 99designs/aws-vault | Build a static version of the android binary |
1,409 | 19.09.2020 13:17:19 | -36,000 | 490738ece04cc5480d0fe3548ee43d0bfacadab5 | Support sts_regional_endpoints configuration | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -118,6 +118,7 @@ To configure the default flag values of `aws-vault` and its subcommands:\nTo override the AWS config file (used in the `exec`, `login` and `rotate` subcommands):\n* `AWS_REGION`: The AWS region\n*... | Go | MIT License | 99designs/aws-vault | Support sts_regional_endpoints configuration |
1,409 | 25.09.2020 22:29:19 | -36,000 | f25873e4d5d5c8ed30694e8434d183825922c934 | Update keyring dep | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "VERSION=$(shell git describe --tags --candidates=1 --dirty)\nBUILD_FLAGS=-ldflags=\"-X main.Version=$(VERSION) -s -w\" -trimpath\nCERT_ID ?= Developer ID Application: 99designs Inc (NRM9HVJ62Z)\n-SRC=$(shell find . -... | Go | MIT License | 99designs/aws-vault | Update keyring dep |
1,407 | 03.11.2020 20:58:50 | -39,600 | d8bca66b01e15c4ca50def701ddf238ea565ed4f | Adding support for STS Session Tags | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -102,6 +102,21 @@ include_profile = root\nrole_arn=arn:aws:iam::123456789:role/administrators\n```\n+#### `session_tags` and `transitive_session_tags`\n+\n+It is possible to set [session tags](https://docs.aws.ama... | Go | MIT License | 99designs/aws-vault | Adding support for STS Session Tags |
1,407 | 04.11.2020 20:08:55 | -39,600 | 0e08627e10b4ceeb0292d850060b91d8deafd951 | Adding tests for STS Session Tags configuration | [
{
"change_type": "MODIFY",
"old_path": "vault/config_test.go",
"new_path": "vault/config_test.go",
"diff": "@@ -377,3 +377,140 @@ source_profile=root\nt.Fatalf(\"Expected '%s', got '%s'\", expectedSourceProfileName, config.SourceProfileName)\n}\n}\n+\n+func TestSessionTaggingFromIni(t *testing.T) {\... | Go | MIT License | 99designs/aws-vault | Adding tests for STS Session Tags configuration |
1,407 | 12.11.2020 19:28:16 | -39,600 | a3e7912f73ecd98007b14ce1188d80abe21fd2a9 | Using separate functions to parse session tags and session transitive tags; Added tests for the functions | [
{
"change_type": "MODIFY",
"old_path": "vault/config.go",
"new_path": "vault/config.go",
"diff": "@@ -328,22 +328,14 @@ func (cl *ConfigLoader) populateFromConfigFile(config *Config, profileName strin\nif config.STSRegionalEndpoints == \"\" {\nconfig.STSRegionalEndpoints = psection.STSRegionalEndpoi... | Go | MIT License | 99designs/aws-vault | Using separate functions to parse session tags and session transitive tags; Added tests for the functions |
1,387 | 19.11.2020 17:47:20 | 0 | eb5df8847b98f4e51a6921fac4aa9e929367983f | Update arch linux install instructions
The package has been included in the community repository, so there's no need to install it from AUR | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -19,7 +19,7 @@ You can install AWS Vault:\n- on Windows with [Chocolatey](https://chocolatey.org/packages/aws-vault): `choco install aws-vault`\n- on Windows with [Scoop](https://scoop.sh/): `scoop install aws-v... | Go | MIT License | 99designs/aws-vault | Update arch linux install instructions
The package has been included in the community repository, so there's no need to install it from AUR |
1,349 | 05.12.2020 17:56:08 | 28,800 | 13aac8ee3158b4392332ffc16443b873bdea635e | Change brew syntax to avoid a deprecation warning
brew cask install aws-vault
Warning: Calling brew cask install is deprecated! Use brew install [--cask] instead. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -14,7 +14,7 @@ Check out the [announcement blog post](https://99designs.com.au/tech-blog/blog/2\nYou can install AWS Vault:\n- by downloading the [latest release](https://github.com/99designs/aws-vault/releases/... | Go | MIT License | 99designs/aws-vault | Change brew syntax to avoid a deprecation warning
brew cask install aws-vault
Warning: Calling brew cask install is deprecated! Use brew install [--cask] instead. |
1,404 | 21.02.2021 14:46:17 | -3,600 | 41521c7168861dd20d9b3433d59b702a37acd7e9 | added timed wait between code generations, added resync script | [
{
"change_type": "MODIFY",
"old_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"new_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"diff": "@@ -34,8 +34,17 @@ rm \"$OUTFILE\"\nCODE1=$(ykman oath code -s \"$SERIAL_NUMBER\")\n-echo \"Waiting 30s before generating a second code\" >&2\... | Go | MIT License | 99designs/aws-vault | added timed wait between code generations, added resync script |
1,404 | 22.02.2021 07:38:26 | -3,600 | 0bbe59037e28bb3a6be809cdea6abea0762a236e | wrapped time generation logic into function | [
{
"change_type": "MODIFY",
"old_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"new_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"diff": "@@ -16,6 +16,18 @@ cleanup()\n}\ntrap cleanup EXIT\n+waittime() {\n+ # wait until next code can be generated\n+ # if SECONDS are :00 or :30, g... | Go | MIT License | 99designs/aws-vault | wrapped time generation logic into function |
1,404 | 22.02.2021 20:14:28 | -3,600 | 64fc5171e325ed00710ee1dbbcdd84460714d843 | aws helper scripts fixed to work on more platforms | [
{
"change_type": "MODIFY",
"old_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"new_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"diff": "#!/bin/sh\n# Adds a Yubikey TOTP device to IAM\n-set -eu\n+set -e\nif [ -n \"${AWS_SESSION_TOKEN:-}\" ]; then\necho \"aws-vault must be run wi... | Go | MIT License | 99designs/aws-vault | aws helper scripts fixed to work on more platforms |
1,404 | 23.02.2021 20:08:23 | -3,600 | 69de2fa81df5b67229fb243fdf71e7880dbe9183 | added back `-u` (nounset) along with var default | [
{
"change_type": "MODIFY",
"old_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"new_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"diff": "#!/bin/sh\n# Adds a Yubikey TOTP device to IAM\n-set -e\n+set -eu\nif [ -n \"${AWS_SESSION_TOKEN:-}\" ]; then\necho \"aws-vault must be run wi... | Go | MIT License | 99designs/aws-vault | added back `-u` (nounset) along with var default |
1,401 | 11.03.2021 14:36:33 | 28,800 | 07fcef05a50baf9189c4b35bd473b629a2ccd250 | Set YKMAN_OATH_DEVICE_SERIAL to select Yubikey
This change enables setting YKMAN_OATH_DEVICE_SERIAL to select a
particular Yubikey if more than one is attached to the device. It does
this by reading the serial from the env var, and adding the `--device
<serial>` to the `ykman` command. | [
{
"change_type": "MODIFY",
"old_path": "prompt/ykman.go",
"new_path": "prompt/ykman.go",
"diff": "@@ -11,13 +11,25 @@ import (\n// YkmanProvider runs ykman to generate a OATH-TOTP token from the Yubikey device\n// To set up ykman, first run `ykman oath add`\nfunc YkmanMfaProvider(mfaSerial string) (... | Go | MIT License | 99designs/aws-vault | Set YKMAN_OATH_DEVICE_SERIAL to select Yubikey
This change enables setting YKMAN_OATH_DEVICE_SERIAL to select a
particular Yubikey if more than one is attached to the device. It does
this by reading the serial from the env var, and adding the `--device
<serial>` to the `ykman` command. |
1,409 | 18.03.2021 21:03:00 | -39,600 | c0dd7f836c6eaec8d9fac9d0b639a4a32bc44181 | More openbsd support | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -331,7 +331,7 @@ func execCmd(command string, args []string, env []string) error {\n}\nfunc supportsExecSyscall() bool {\n- return runtime.GOOS == \"linux\" || runtime.GOOS == \"darwin\" || runtime.GOOS == \... | Go | MIT License | 99designs/aws-vault | More openbsd support |
1,409 | 19.03.2021 22:06:48 | -39,600 | a5745b7e1675d92324d5651fa7a93603a67bcf4c | Remove -s and -w flags from go build | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "VERSION=$(shell git describe --tags --candidates=1 --dirty)\n-BUILD_FLAGS=-ldflags=\"-X main.Version=$(VERSION) -s -w\" -trimpath\n+BUILD_FLAGS=-ldflags=\"-X main.Version=$(VERSION)\" -trimpath\nCERT_ID ?= Developer ... | Go | MIT License | 99designs/aws-vault | Remove -s and -w flags from go build |
1,409 | 19.03.2021 22:40:07 | -39,600 | 33255ecbfa5ed784c9ffd1b8e9062991a36ab83c | Update dmg script to report errors when encountered | [
{
"change_type": "MODIFY",
"old_path": "bin/create-dmg",
"new_path": "bin/create-dmg",
"diff": "@@ -16,7 +16,7 @@ get_apple_id() {\n}\nBIN_PATH=\"$1\"\n-DMG_PATH=\"$2\"\n+DMG_PATH=\"${2:-$1.dmg}\"\nAPPLE_ID_USERNAME=\"${APPLE_ID_USERNAME:-$(get_apple_id)}\"\nAPPLE_ID_APP_PASSWORD=\"${APPLE_ID_APP_PA... | Go | MIT License | 99designs/aws-vault | Update dmg script to report errors when encountered |
1,409 | 19.03.2021 23:12:41 | -39,600 | afcf6d2a42d598459a73b362ffe08d88ead2e4ad | Use bump-cask-pr | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -21,7 +21,7 @@ clean:\nrm -f ./aws-vault ./aws-vault-*-* ./SHA256SUMS\nrelease: binaries dmgs SHA256SUMS\n- @echo \"\\nTo update homebrew-cask run\\n\\n cask-repair -v $(shell echo $(VERSION) | sed 's/v\\(.*\\)/\\... | Go | MIT License | 99designs/aws-vault | Use bump-cask-pr |
1,409 | 30.03.2021 22:24:55 | -39,600 | 1a95dd1afdacd1f9faff0fc46a464535b3079308 | Update release step instructions | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -21,7 +21,20 @@ clean:\nrm -f ./aws-vault ./aws-vault-*-* ./SHA256SUMS\nrelease: binaries dmgs SHA256SUMS\n- @echo \"\\nTo update homebrew-cask run\\n\\n brew bump-cask-pr --version $(shell echo $(VERSION) | sed '... | Go | MIT License | 99designs/aws-vault | Update release step instructions |
1,409 | 21.04.2021 22:49:47 | -36,000 | ea9bae48f6bbbcbfb0dee364d678da54f13a4f42 | Fix legacy STS endpoint resolver | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "vault/stsendpointresolver.go",
"diff": "+package vault\n+\n+import (\n+ \"log\"\n+\n+ \"github.com/aws/aws-sdk-go-v2/aws\"\n+ \"github.com/aws/aws-sdk-go-v2/service/sts\"\n+)\n+\n+// getEndpointResolver resolves endpoints in accordance with\n+//... | Go | MIT License | 99designs/aws-vault | Fix legacy STS endpoint resolver |
1,409 | 22.04.2021 20:29:16 | -36,000 | c83513a3143f35fd8edf309edc864dd6d0d11f73 | Clean up use of CredentialsCache | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -142,24 +142,24 @@ func ExecCommand(input ExecCommandInput, f *vault.ConfigFile, keyring keyring.Ke\n}\nckr := &vault.CredentialKeyring{Keyring: keyring}\n- creds, err := vault.NewTempCredentialsCache(config... | Go | MIT License | 99designs/aws-vault | Clean up use of CredentialsCache |
1,422 | 26.04.2021 12:37:16 | 10,800 | 406b725c2e3202ae153aec13982ca7dfadd9f40e | Use LookupEnv rather than Getenv for AWS_VAULT_FILE_PASSPHRASE | [
{
"change_type": "MODIFY",
"old_path": "cli/global.go",
"new_path": "cli/global.go",
"diff": "@@ -129,7 +129,7 @@ func ConfigureGlobals(app *kingpin.Application) *AwsVault {\n}\nfunc fileKeyringPassphrasePrompt(prompt string) (string, error) {\n- if password := os.Getenv(\"AWS_VAULT_FILE_PASSPHRASE\... | Go | MIT License | 99designs/aws-vault | Use LookupEnv rather than Getenv for AWS_VAULT_FILE_PASSPHRASE |
1,409 | 02.05.2021 10:39:06 | -36,000 | 99a59b792fa626c42d69e3ed78d9339b229c25e6 | Simplify yubikey scripts | [
{
"change_type": "MODIFY",
"old_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"new_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"diff": "@@ -8,27 +8,15 @@ if [ -n \"${AWS_SESSION_TOKEN:-}\" ]; then\nexit 1\nfi\n-cleanup() { rm -f \"${OUTFILE:-}\"; }\n-trap cleanup EXIT\n-\n-wait... | Go | MIT License | 99designs/aws-vault | Simplify yubikey scripts |
1,409 | 24.05.2021 12:43:34 | -36,000 | 2069f61faf7c51396bc7804e9aae0d353625e4da | Update aws deps | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -7,11 +7,11 @@ require (\ngithub.com/alecthomas/kingpin v0.0.0-20200323085623-b6657d9477a6\ngithub.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect\ngithub.com/alecthomas/units v0.0.0-20210208195... | Go | MIT License | 99designs/aws-vault | Update aws deps |
1,409 | 24.05.2021 12:51:52 | -36,000 | 0fa49bd8bb2a6e2688e9f1fa3bcd7c8a434bed9c | Fix ykman prompt for v4. Resolves resolves resolves | [
{
"change_type": "MODIFY",
"old_path": "prompt/ykman.go",
"new_path": "prompt/ykman.go",
"diff": "@@ -25,8 +25,14 @@ func YkmanMfaProvider(mfaSerial string) (string, error) {\nargs = append(args, \"--device\", yubikeyDeviceSerial)\n}\n- // Add the rest of the args as usual.\n+ ykmanMajorVersion := o... | Go | MIT License | 99designs/aws-vault | Fix ykman prompt for v4. Resolves #741, resolves #742, resolves #743 |
1,409 | 24.05.2021 12:55:05 | -36,000 | db08b16d1c08c370e0f20616710ea11b5b24c9fc | Add docs for new env var | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -497,7 +497,7 @@ aws-vault exec --prompt ykman ${AWS_VAULT_PROFILE_USING_MFA} -- aws s3 ls\nFurther config:\n- `AWS_VAULT_PROMPT=ykman`: to avoid specifying `--prompt` each time\n- `YKMAN_OATH_CREDENTIAL_NAME`: to... | Go | MIT License | 99designs/aws-vault | Add docs for new env var |
1,409 | 24.05.2021 13:09:02 | -36,000 | 23b4c5662fcd73594fdfd1614ab89130a66dd261 | Remove empty errors from function | [
{
"change_type": "MODIFY",
"old_path": "cli/rotate.go",
"new_path": "cli/rotate.go",
"diff": "@@ -98,10 +98,7 @@ func RotateCommand(input RotateCommandInput, f *vault.ConfigFile, keyring keyrin\n}\n}\n- cfg, err := vault.NewAwsConfigWithCredsProvider(credsProvider, config.Region, config.STSRegionalE... | Go | MIT License | 99designs/aws-vault | Remove empty errors from function |
1,409 | 24.05.2021 13:17:12 | -36,000 | 0c92ff73a6f96d3d8b74bf2f27eab7f7fa81b27a | Improve error messages when rotating | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -138,7 +138,7 @@ func ExecCommand(input ExecCommandInput, f *vault.ConfigFile, keyring keyring.Ke\n}\nconfig, err := configLoader.LoadFromProfile(input.ProfileName)\nif err != nil {\n- return err\n+ return f... | Go | MIT License | 99designs/aws-vault | Improve error messages when rotating |
1,409 | 24.05.2021 13:21:22 | -36,000 | ae2c00588d12f5820465aa5fe450b1ebdd52b346 | Fix deprecated dep | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -20,9 +20,9 @@ require (\ngithub.com/mtibben/androiddnsfix v0.0.0-20200907095054-ff0280446354\ngithub.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966\ngithub.com/smartystreets/goconvey v1.6.4 // indirect... | Go | MIT License | 99designs/aws-vault | Fix deprecated dep |
1,409 | 24.05.2021 13:27:02 | -36,000 | bfe3cd511663b7935ec85a5271c62b5ecd40eb56 | Use the request context | [
{
"change_type": "MODIFY",
"old_path": "server/ec2server.go",
"new_path": "server/ec2server.go",
"diff": "@@ -93,7 +93,7 @@ func withSecurityChecks(next *http.ServeMux) http.HandlerFunc {\nfunc credsHandler(credsProvider aws.CredentialsProvider) http.HandlerFunc {\nreturn func(w http.ResponseWriter,... | Go | MIT License | 99designs/aws-vault | Use the request context |
1,336 | 22.02.2021 20:58:35 | 28,800 | 4ccfdc8d67800652340668b55157c01cecf4638c | Allow to force-remove a profile without a prompt | [
{
"change_type": "MODIFY",
"old_path": "cli/remove.go",
"new_path": "cli/remove.go",
"diff": "@@ -2,6 +2,7 @@ package cli\nimport (\n\"fmt\"\n+ \"strings\"\n\"github.com/99designs/aws-vault/v6/prompt\"\n\"github.com/99designs/aws-vault/v6/vault\"\n@@ -12,6 +13,7 @@ import (\ntype RemoveCommandInput ... | Go | MIT License | 99designs/aws-vault | Allow to force-remove a profile without a prompt |
1,409 | 24.05.2021 16:13:08 | -36,000 | 431834922da00ea11fa6ddc5ceda8262bf1a73b9 | Check for existing dmg when creating | [
{
"change_type": "MODIFY",
"old_path": "bin/create-dmg",
"new_path": "bin/create-dmg",
"diff": "@@ -22,6 +22,11 @@ APPLE_ID_APP_PASSWORD=\"${APPLE_ID_APP_PASSWORD:-\"@keychain:AC_PASSWORD\"}\"\nCERT_ID=\"${CERT_ID:-\"Developer ID Application: 99designs Inc (NRM9HVJ62Z)\"}\"\nBUNDLE_ID=\"${BUNDLE_ID:... | Go | MIT License | 99designs/aws-vault | Check for existing dmg when creating |
1,361 | 05.07.2021 15:38:08 | 14,400 | 077c787962dddc7472b28e6061dd77b18db7166d | Prevent osascript prompt code injection | [
{
"change_type": "MODIFY",
"old_path": "prompt/osascript.go",
"new_path": "prompt/osascript.go",
"diff": "@@ -8,7 +8,7 @@ import (\nfunc OSAScriptMfaPrompt(mfaSerial string) (string, error) {\ncmd := exec.Command(\"osascript\", \"-e\", fmt.Sprintf(`\n- display dialog \"%s\" default answer \"\" butto... | Go | MIT License | 99designs/aws-vault | Prevent osascript prompt code injection |
1,361 | 05.07.2021 15:49:51 | 14,400 | 6cb1bcb734fdfac5827502bd736ba7578b31e4bb | prevent windows exec unintentional relative pathing | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -6,13 +6,14 @@ import (\n\"fmt\"\n\"log\"\n\"os\"\n- osexec \"os/exec\"\n\"os/signal\"\n\"runtime\"\n\"strings\"\n\"syscall\"\n\"time\"\n+ osexec \"golang.org/x/sys/execabs\"\n+\n\"github.com/99designs/aws-v... | Go | MIT License | 99designs/aws-vault | prevent windows exec unintentional relative pathing |
1,409 | 13.07.2021 09:12:43 | -36,000 | 2518fb10b53c8846f926190bb75db545135957ef | Add script to configure tha aws cli with env vars | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "contrib/scripts/aws-configure-with-env-vars.sh ",
"diff": "+#!/bin/sh\n+# Configure aws-cli using the AWS env vars created with aws-vault\n+#\n+# Usage: aws-vault exec <SOURCE_PROFILE> -- aws-configure-with-env-vars.sh [TARGET_PROFILE]\n+#\n+\n+... | Go | MIT License | 99designs/aws-vault | Add script to configure tha aws cli with env vars |
1,409 | 03.09.2021 21:43:15 | -36,000 | 5cfd96de663d0431fc29c624325cc1825828aeaf | Fix Makefile to codesign more reliably on Darwin | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -5,14 +5,19 @@ SRC=$(shell find . -name '*.go') go.mod\nINSTALL_DIR ?= ~/bin\n.PHONY: binaries clean release install\n+ifeq ($(shell uname), Darwin)\naws-vault: $(SRC)\n- go build -ldflags=\"-X main.Version=$(VERS... | Go | MIT License | 99designs/aws-vault | Fix Makefile to codesign more reliably on Darwin |
1,377 | 06.09.2021 14:15:48 | -7,200 | d01b2a3cad4d3621246e3aaf4a7331c3e21d47eb | Fix incorrect environment variable name to override STS session tags | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -149,7 +149,7 @@ To override session durations (used in `exec` and `login`):\nNote that the session durations above expect a unit after the number (e.g. 12h or 43200s).\nTo override or set session tagging (used in... | Go | MIT License | 99designs/aws-vault | Fix incorrect environment variable name to override STS session tags |
1,363 | 27.09.2021 11:38:15 | -7,200 | 66eb33debe3f26ade6f8f0234957970480e01144 | Update commands to setup MFA
`oath add` and `oath code` are deprecated | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -480,10 +480,10 @@ You can verify these prerequisites by running `ykman info` and checking `OATH` i\n3. Instead of showing the QR code, click on `Show secret key` and copy the key.\n4. On a command line, run:\n```... | Go | MIT License | 99designs/aws-vault | Update commands to setup MFA
`oath add` and `oath code` are deprecated |
1,392 | 10.10.2021 05:54:08 | -32,400 | edaf93cb712ed9a293737323f1940ac1d8fba1e4 | add asdf install readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -14,6 +14,7 @@ Check out the [announcement blog post](https://99designs.com.au/tech-blog/blog/2\nYou can install AWS Vault:\n- by downloading the [latest release](https://github.com/99designs/aws-vault/releases/... | Go | MIT License | 99designs/aws-vault | add asdf install readme |
1,409 | 11.10.2021 11:40:34 | -39,600 | 775240b85793e67a5854bad558ba4fe03fcf73df | Update MFA prompt message, fixes | [
{
"change_type": "MODIFY",
"old_path": "prompt/prompt.go",
"new_path": "prompt/prompt.go",
"diff": "@@ -27,5 +27,5 @@ func Method(s string) PromptFunc {\n}\nfunc mfaPromptMessage(mfaSerial string) string {\n- return fmt.Sprintf(\"Enter token for %s: \", mfaSerial)\n+ return fmt.Sprintf(\"Enter MFA c... | Go | MIT License | 99designs/aws-vault | Update MFA prompt message, fixes #799 |
1,409 | 11.10.2021 13:36:36 | -39,600 | 4de0ce93efff04d82e9b9a23a7b0fd652f9a02ef | Add an example Dockerfile | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "contrib/docker/Dockerfile",
"diff": "+FROM debian:bullseye-slim\n+RUN apt update && apt install -y curl\n+RUN curl -fLs -o /usr/local/bin/aws-vault https://github.com/99designs/aws-vault/releases/download/v6.3.1/aws-vault-linux-amd64 && chmod 75... | Go | MIT License | 99designs/aws-vault | Add an example Dockerfile |
1,332 | 12.10.2021 22:45:30 | -3,600 | 5355ca31392c6ea65ea03f4f309460e51f389b36 | Fix hint message for unsetting env variable
You don't need the $ sign before the variable name when unsetting an
env variable | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -122,7 +122,7 @@ func ConfigureExecCommand(app *kingpin.Application, a *AwsVault) {\nfunc ExecCommand(input ExecCommandInput, f *vault.ConfigFile, keyring keyring.Keyring) error {\nif os.Getenv(\"AWS_VAULT\"... | Go | MIT License | 99designs/aws-vault | Fix hint message for unsetting env variable
You don't need the $ sign before the variable name when unsetting an
env variable |
1,381 | 16.09.2021 01:31:08 | 0 | 950ceea29d05280787b9514c8e8946e42edb691d | Add support for source identity on sessions | [
{
"change_type": "MODIFY",
"old_path": "vault/assumeroleprovider.go",
"new_path": "vault/assumeroleprovider.go",
"diff": "@@ -20,6 +20,7 @@ type AssumeRoleProvider struct {\nDuration time.Duration\nTags map[string]string\nTransitiveTagKeys []string\n+ SourceIdentity string\nMfa\n}\n@@ -84,6 +85,10 @... | Go | MIT License | 99designs/aws-vault | Add support for source identity on sessions |
1,381 | 16.10.2021 03:58:51 | 0 | 28405ee672457221e5bddceba9b7848999b2b98d | Add documentation on source identity | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -118,6 +118,20 @@ session_tags = key1=value1,key2=value2,key3=value3\ntransitive_session_tags = key1,key2\n```\n+#### `source_identity`\n+\n+It is possible to set [source identity](https://docs.aws.amazon.com/IAM/... | Go | MIT License | 99designs/aws-vault | Add documentation on source identity |
1,337 | 16.11.2021 09:20:58 | 21,600 | 6ae673184ec84faf34c1c25624d860413990a4c5 | Update USAGE.md
Typo correction. | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -105,7 +105,7 @@ role_arn=arn:aws:iam::123456789:role/administrators\n#### `session_tags` and `transitive_session_tags`\n-It is possible to set [session tags](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_se... | Go | MIT License | 99designs/aws-vault | Update USAGE.md
Typo correction. |
1,410 | 27.12.2021 11:54:29 | -3,600 | 8779f84c9fca5eac769a2155d6668b4173bc6815 | Update the linf for Homebrew on Linux | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -18,7 +18,7 @@ You can install AWS Vault:\n- on macOS with [MacPorts](https://ports.macports.org/port/aws-vault/summary): `port install aws-vault`\n- on Windows with [Chocolatey](https://chocolatey.org/packages/... | Go | MIT License | 99designs/aws-vault | Update the linf for Homebrew on Linux |
1,409 | 18.01.2022 12:07:27 | -39,600 | a6ac84b7c8d5c2de2d5f2dc735503f07325ce9c1 | Use buffered channel for signals to fix go vet | [
{
"change_type": "MODIFY",
"old_path": "cli/proxy.go",
"new_path": "cli/proxy.go",
"diff": "@@ -32,7 +32,7 @@ func ConfigureProxyCommand(app *kingpin.Application, a *AwsVault) {\nfunc handleSigTerm() {\n// shutdown\n- c := make(chan os.Signal)\n+ c := make(chan os.Signal, 1)\nsignal.Notify(c, os.Int... | Go | MIT License | 99designs/aws-vault | Use buffered channel for signals to fix go vet |
1,409 | 18.01.2022 12:39:38 | -39,600 | 0458914167f71c6af236b735f619611200d6c4e3 | Remove android release build | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -19,7 +19,7 @@ install: aws-vault\nrm -f $(INSTALL_DIR)/aws-vault\ncp -a ./aws-vault $(INSTALL_DIR)/aws-vault\n-binaries: aws-vault-linux-amd64 aws-vault-linux-arm64 aws-vault-linux-ppc64le aws-vault-linux-arm7 aw... | Go | MIT License | 99designs/aws-vault | Remove android release build |
1,409 | 18.01.2022 14:58:26 | -39,600 | d9cd058a72b7abd96a8fe6472781371e56e6c050 | Update create-dmg to use notarytool | [
{
"change_type": "MODIFY",
"old_path": "bin/create-dmg",
"new_path": "bin/create-dmg",
"diff": "# create-dmg packages the aws-vault CLI binary for macOS\n# using Apple's signing and notorizing process\n#\n+#\n+# As per https://developer.apple.com/documentation/security/notarizing_macos_software_befo... | Go | MIT License | 99designs/aws-vault | Update create-dmg to use notarytool |
1,403 | 15.10.2021 21:15:32 | 14,400 | b3a9a232a2829ef327144fd5014c78843b030d9f | Add `--stdout` option to `aws-vault exec`
By default `aws-vault` opens the the AWS SSO link in the user's
default browser, but specifying `--stdout` will only print
the AWS SSO link to the terminal, allowing the user to open
the link in a non-default way (eg firefox profile, on a different
machine, etc) | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -32,6 +32,7 @@ type ExecCommandInput struct {\nConfig vault.Config\nSessionDuration time.Duration\nNoSession bool\n+ UseStdout bool\n}\nfunc (input ExecCommandInput) validate() error {\n@@ -88,6 +89,9 @@ fun... | Go | MIT License | 99designs/aws-vault | Add `--stdout` option to `aws-vault exec`
By default `aws-vault` opens the the AWS SSO link in the user's
default browser, but specifying `--stdout` will only print
the AWS SSO link to the terminal, allowing the user to open
the link in a non-default way (eg firefox profile, on a different
machine, etc) |
1,409 | 06.02.2022 09:49:58 | -39,600 | 280d143bf17d9717ff1ab0d091cd7258c14b5ea0 | Use os.UserHomeDir instead of library | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -11,7 +11,6 @@ require (\ngithub.com/aws/aws-sdk-go-v2/service/ssooidc v1.10.0\ngithub.com/aws/aws-sdk-go-v2/service/sts v1.14.0\ngithub.com/google/go-cmp v0.5.6\n- github.com/mitchellh/go-homedir v1.1.0\ngithub.com/s... | Go | MIT License | 99designs/aws-vault | Use os.UserHomeDir instead of library |
1,409 | 06.02.2022 10:42:23 | -39,600 | 5e9f196dcd27dcb2d0dfb7ee1df8f05348628922 | Windows arm64 build target | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -19,7 +19,7 @@ install: aws-vault\nrm -f $(INSTALL_DIR)/aws-vault\ncp -a ./aws-vault $(INSTALL_DIR)/aws-vault\n-binaries: aws-vault-linux-amd64 aws-vault-linux-arm64 aws-vault-linux-ppc64le aws-vault-linux-arm7 aw... | Go | MIT License | 99designs/aws-vault | Windows arm64 build target |
1,409 | 08.03.2022 20:14:10 | -39,600 | b2e46a5c50b1e617fed77406060a9d894bc714dc | Add a /role-arn route to ECS server | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -5,6 +5,7 @@ import (\n\"encoding/json\"\n\"fmt\"\n\"log\"\n+ \"net/http\"\n\"os\"\n\"os/signal\"\n\"runtime\"\n@@ -12,14 +13,13 @@ import (\n\"syscall\"\n\"time\"\n- osexec \"golang.org/x/sys/execabs\"\n-\n... | Go | MIT License | 99designs/aws-vault | Add a /role-arn route to ECS server |
1,409 | 08.03.2022 22:13:07 | -39,600 | 67d1aea780b367767d6667413e6400f40f30eecc | Fix error message when profile nor env vars found | [
{
"change_type": "MODIFY",
"old_path": "cli/login.go",
"new_path": "cli/login.go",
"diff": "@@ -54,7 +54,7 @@ func ConfigureLoginCommand(app *kingpin.Application, a *AwsVault) {\nShort('s').\nBoolVar(&input.UseStdout)\n- cmd.Arg(\"profile\", \"Name of the profile\").\n+ cmd.Arg(\"profile\", \"Name o... | Go | MIT License | 99designs/aws-vault | Fix error message when profile nor env vars found |
1,353 | 15.03.2022 23:18:43 | -7,200 | 95274d63c52d901fe3a3c7cda08463d86f933c65 | With login, `SSOUseStdout` should follow `--stdout`
The logic is now similar to how exec handles this. This fixes the
`--stdout` option for SSO login. | [
{
"change_type": "MODIFY",
"old_path": "cli/login.go",
"new_path": "cli/login.go",
"diff": "@@ -63,6 +63,7 @@ func ConfigureLoginCommand(app *kingpin.Application, a *AwsVault) {\ninput.Config.NonChainedGetSessionTokenDuration = input.SessionDuration\ninput.Config.AssumeRoleDuration = input.SessionDu... | Go | MIT License | 99designs/aws-vault | With login, `SSOUseStdout` should follow `--stdout`
The logic is now similar to how exec handles this. This fixes the
`--stdout` option for SSO login. |
1,394 | 01.04.2022 17:07:03 | 25,200 | 2aac403a33e0b3b3e3487671efad13ad6b855f3f | allow Host header with :80 | [
{
"change_type": "MODIFY",
"old_path": "server/ec2server.go",
"new_path": "server/ec2server.go",
"diff": "@@ -81,7 +81,7 @@ func withSecurityChecks(next *http.ServeMux) http.HandlerFunc {\n// Check that the request is to 169.254.169.254\n// Without this it's possible for an attacker to mount a DNS r... | Go | MIT License | 99designs/aws-vault | allow Host header with :80 |
1,364 | 03.08.2022 11:17:09 | -7,200 | c2356d7bf31f1af90ef67ff4f4d4a2f281b8ec0a | Add YKMAN_OATH_DEVICE_SERIAL to USAGE.md | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -528,6 +528,7 @@ Further config:\n- `AWS_VAULT_PROMPT=ykman`: to avoid specifying `--prompt` each time\n- `YKMAN_OATH_CREDENTIAL_NAME`: to use an alternative ykman credential\n- `AWS_VAULT_YKMAN_VERSION`: to set t... | Go | MIT License | 99designs/aws-vault | Add YKMAN_OATH_DEVICE_SERIAL to USAGE.md |
1,398 | 18.10.2022 11:13:18 | -3,600 | 94e6215bb570ae5f25f60f244dcafebee13628bf | Improve signposting of IAM api call restrictions
PR related to
* Flag issue during 'Rotating credentials' section
* Expand 'Temporary credentials limitations with STS, IAM' with 1) error user will encounter, 2) mitigations
* ?correct? possible existing type in 'MFA' section (however I'm unsure if the entire sentence is... | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -262,7 +262,7 @@ Deleted credentials.\n### Rotating credentials\n-Regularly rotating your access keys is a critical part of credential management. You can do this with the `aws-vault rotate <profile>` command as o... | Go | MIT License | 99designs/aws-vault | Improve signposting of IAM api call restrictions
PR related to #1056
* Flag issue during 'Rotating credentials' section
* Expand 'Temporary credentials limitations with STS, IAM' with 1) error user will encounter, 2) mitigations
* ?correct? possible existing type in 'MFA' section (however I'm unsure if the enti... |
1,409 | 19.12.2022 11:31:54 | -39,600 | be060e8fe134356f1726b2b2076ad7c23ecc6fdf | Remove golang.org/x/sys/execabs | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -7,6 +7,7 @@ import (\n\"log\"\n\"net/http\"\n\"os\"\n+ osexec \"os/exec\"\n\"os/signal\"\n\"runtime\"\n\"strings\"\n@@ -19,7 +20,6 @@ import (\n\"github.com/99designs/keyring\"\n\"github.com/alecthomas/king... | Go | MIT License | 99designs/aws-vault | Remove golang.org/x/sys/execabs |
1,409 | 19.12.2022 15:41:45 | -39,600 | d84ee43fd5c3171ed389ed1b9daa48948327952f | Shift all context.TODOs to the top-level cli | [
{
"change_type": "MODIFY",
"old_path": "cli/exec.go",
"new_path": "cli/exec.go",
"diff": "@@ -200,7 +200,7 @@ func updateEnvForAwsVault(env environ, profileName string, region string) enviro\n}\nfunc execEc2Server(input ExecCommandInput, config *vault.Config, credsProvider aws.CredentialsProvider) e... | Go | MIT License | 99designs/aws-vault | Shift all context.TODOs to the top-level cli |
1,409 | 19.12.2022 15:50:33 | -39,600 | 8e4f8948eca104485ae2f4c28700103098a0f98a | Another ioutil | [
{
"change_type": "MODIFY",
"old_path": "vault/config_test.go",
"new_path": "vault/config_test.go",
"diff": "@@ -3,7 +3,6 @@ package vault_test\nimport (\n\"bytes\"\n\"fmt\"\n- \"io/ioutil\"\n\"os\"\n\"reflect\"\n\"testing\"\n@@ -276,7 +275,7 @@ func TestIniWithHeaderSavesWithHeader(t *testing.T) {\n... | Go | MIT License | 99designs/aws-vault | Another ioutil |
1,409 | 19.12.2022 15:50:47 | -39,600 | 5d4ad7a3d2d7e7a7525478f64fdf788871a0c507 | Remove default and abandoned linters | [
{
"change_type": "MODIFY",
"old_path": ".golangci.yml",
"new_path": ".golangci.yml",
"diff": "@@ -2,20 +2,15 @@ linters:\nenable:\n- bodyclose\n- contextcheck\n- - deadcode\n- depguard\n- durationcheck\n- dupl\n- - errcheck\n- errchkjson\n- errname\n- exhaustive\n- exportloopref\n- gofmt\n- goimport... | Go | MIT License | 99designs/aws-vault | Remove default and abandoned linters |
1,409 | 19.12.2022 16:19:35 | -39,600 | 22b5a01b6f5aa99723295facce9ef94b3311467f | Bump keyring to 1.2.2 | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -3,7 +3,7 @@ module github.com/99designs/aws-vault/v6\ngo 1.19\nrequire (\n- github.com/99designs/keyring v1.2.1\n+ github.com/99designs/keyring v1.2.2\ngithub.com/alecthomas/kingpin v0.0.0-20200323085623-b6657d9477a6... | Go | MIT License | 99designs/aws-vault | Bump keyring to 1.2.2 |
1,373 | 22.12.2022 14:31:35 | 0 | ad58548ad87e1088b0d50513f917d8b952c4d72b | Update USAGE with new multiple MFA instructions | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -386,9 +386,9 @@ For restricted IAM operation you can add MFA to the IAM User and update your ~/.\n## MFA\n-To enable MFA for a profile, specify the `mfa_serial` in `~/.aws/config`. You can retrieve the MFA's seri... | Go | MIT License | 99designs/aws-vault | Update USAGE with new multiple MFA instructions |
1,373 | 22.12.2022 14:32:12 | 0 | f9d5ba66319eb3d2015237fdf486c1efee12bf29 | Update USAGE with new Yubikey instructions | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -505,11 +505,11 @@ If you're using `credential_process` in your config you should not use `aws-vaul\n## Using a Yubikey\n-Yubikeys can be used with AWS Vault via Yubikey's OATH-TOTP support. TOTP is necessary beca... | Go | MIT License | 99designs/aws-vault | Update USAGE with new Yubikey instructions |
1,373 | 22.12.2022 14:33:16 | 0 | d15ab9b5e0b71051368418a3843282bd6c4c171a | Flag Yubikey Create/Resync scripts requiring `$MFA_DEVICE_NAME` == `$IAM_USERNAME`
Due to AWS CLI not currently supporting non-username MFA Device
names (hangover from pre-multi-MFA AWS, where your MFA device name would
always be the same as the IAM user) | [
{
"change_type": "MODIFY",
"old_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"new_path": "contrib/scripts/aws-iam-create-yubikey-mfa.sh",
"diff": "#!/bin/sh\n-# Adds a Yubikey TOTP device to IAM\n+# Adds a Yubikey TOTP device to IAM using your IAM User as the $MFA_DEVICE_NAME\n+# Currentl... | Go | MIT License | 99designs/aws-vault | Flag Yubikey Create/Resync scripts requiring `$MFA_DEVICE_NAME` == `$IAM_USERNAME`
Due to AWS CLI not currently supporting non-username MFA Device
names (hangover from pre-multi-MFA AWS, where your MFA device name would
always be the same as the IAM user) |
1,373 | 22.12.2022 14:50:38 | 0 | a03c62bdcff2a324adb364001900fd4a9f06ae8b | Correct `MFA_NAME` -> `MFA_DEVICE_NAME` | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -522,7 +522,7 @@ You can verify these prerequisites by running `ykman info` and checking `OATH` i\nykman oath accounts add -t arn:aws:iam::${ACCOUNT_ID}:mfa/${MFA_DEVICE_NAME}\n```\nreplacing `${ACCOUNT_ID}` with ... | Go | MIT License | 99designs/aws-vault | Correct `MFA_NAME` -> `MFA_DEVICE_NAME` |
1,373 | 23.12.2022 10:40:35 | 0 | e7f8cfb1ada08f0d20fa042afac2faad7e910165 | Remove specification for v4 from mfa_serial source profile setting | [
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -405,7 +405,7 @@ role_arn = arn:aws:iam::33333333333:role/role2\nmfa_serial = arn:aws:iam::111111111111:mfa/tom\n```\n-For aws-vault <=v4, be sure to specify the `mfa_serial` for the source profile (in the above e... | Go | MIT License | 99designs/aws-vault | Remove specification for v4 from mfa_serial source profile setting |
1,409 | 27.12.2022 15:31:38 | -39,600 | 771a4a25eb67ad99a6e42f2b37d0a589e4bd2cc9 | Simplify tempCredsCreator | [
{
"change_type": "MODIFY",
"old_path": "vault/config.go",
"new_path": "vault/config.go",
"diff": "@@ -600,25 +600,17 @@ func (c *Config) HasSSOStartURL() bool {\nreturn c.SSOStartURL != \"\"\n}\n-func (c *Config) HasWebIdentityTokenFile() bool {\n- return c.WebIdentityTokenFile != \"\"\n-}\n-\n-func... | Go | MIT License | 99designs/aws-vault | Simplify tempCredsCreator |
1,409 | 28.12.2022 20:54:55 | -39,600 | d96d93d40fcb58f156af90b1929ff2d72ec98e62 | Update module to v7 | [
{
"change_type": "MODIFY",
"old_path": "cli/add.go",
"new_path": "cli/add.go",
"diff": "@@ -5,8 +5,8 @@ import (\n\"log\"\n\"os\"\n- \"github.com/99designs/aws-vault/v6/prompt\"\n- \"github.com/99designs/aws-vault/v6/vault\"\n+ \"github.com/99designs/aws-vault/v7/prompt\"\n+ \"github.com/99designs/a... | Go | MIT License | 99designs/aws-vault | Update module to v7 |
1,379 | 08.12.2022 19:21:39 | 28,800 | 2f18eb385ff521d8d505528db1cf91ba551883af | Handle [sso-session] section | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "/aws-vault\n/aws-vault-*\n/SHA256SUMS\n+\n+/.idea\n"
},
{
"change_type": "MODIFY",
"old_path": "USAGE.md",
"new_path": "USAGE.md",
"diff": "@@ -434,6 +434,7 @@ include_profile = jon\n_AWS IAM ... | Go | MIT License | 99designs/aws-vault | Handle [sso-session] section |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.