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
27.11.2019 20:38:36
-39,600
153d21f3c0237c5815cf56e7430f5fbe3108b1a8
Allow CERT_ID to be overridden
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "export GO111MODULE=on\nVERSION=$(shell git describe --tags --candidates=1 --dirty)\nFLAGS=-X main.Version=$(VERSION) -s -w\n-CERT=\"Developer ID Application: 99designs Inc (NRM9HVJ62Z)\"\n+CERT_ID ?= Developer ID App...
Go
MIT License
99designs/aws-vault
Allow CERT_ID to be overridden
1,409
27.11.2019 20:54:59
-39,600
73ba8afca0839edd878b3ceb3cee0e3faae721fc
Simplify passing creds
[ { "change_type": "MODIFY", "old_path": "cli/login.go", "new_path": "cli/login.go", "diff": "@@ -107,7 +107,7 @@ func LoginCommand(app *kingpin.Application, input LoginCommandInput) {\n// if AssumeRole isn't used, GetFederationToken has to be used for IAM credentials\nif val.SessionToken == \"\" {\nl...
Go
MIT License
99designs/aws-vault
Simplify passing creds
1,409
28.11.2019 13:01:50
-39,600
f289424fb0c7eb79f71d73b09b64754c730b0112
Move arch-specific funcs to their own file
[ { "change_type": "MODIFY", "old_path": "cli/exec_default.go", "new_path": "cli/exec_default.go", "diff": "-// +build !linux,!darwin\n+// +build !linux,!darwin,!freebsd\npackage cli\n" }, { "change_type": "MODIFY", "old_path": "cli/exec_unix.go", "new_path": "cli/exec_unix.go", "d...
Go
MIT License
99designs/aws-vault
Move arch-specific funcs to their own file
1,409
28.11.2019 13:40:55
-39,600
6c94f9946b9ce1fb0524c76e1787ca9b18333573
Recognise more AWS env vars supported in the SDK
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -41,7 +41,7 @@ $ aws-vault exec --help\naws-vault uses your `~/.aws/config` to load AWS config. This should work identically to the config specified by the [aws-cli docs](https://docs.aws.amazon.com/cli/latest/top...
Go
MIT License
99designs/aws-vault
Recognise more AWS env vars supported in the SDK
1,409
07.12.2019 22:02:58
-39,600
7aa76dcd9a4ce1fde5438241d9a074443302557d
Update default durations and CLI flags
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -56,32 +56,28 @@ parent_profile = work\n## Environment variables\n-The following environment variables can be set to override the default flag\n-values of `aws-vault` and its subcommands.\n-\n-For the `aws-vault` ...
Go
MIT License
99designs/aws-vault
Update default durations and CLI flags
1,409
11.12.2019 20:20:22
-39,600
b20940f0d230cbed75805a3f544bc7c753222fbf
Add -trimpath to builds for reproducability
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "export GO111MODULE=on\nVERSION=$(shell git describe --tags --candidates=1 --dirty)\n-FLAGS=-X main.Version=$(VERSION) -s -w\n+BUILD_FLAGS=-ldflags=\"-X main.Version=$(VERSION) -s -w\" -trimpath\nCERT_ID ?= Developer ...
Go
MIT License
99designs/aws-vault
Add -trimpath to builds for reproducability
1,409
12.12.2019 21:17:14
-39,600
e6bbbf47a8b690ddbcf27962b07440f10cdda396
Make providers stand-alone
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -78,9 +78,9 @@ func AddCommand(app *kingpin.Application, input AddCommandInput) {\n}\ncreds := credentials.Value{AccessKeyID: accessKeyId, SecretAccessKey: secretKey}\n- provider := vault.NewMasterCredentialsP...
Go
MIT License
99designs/aws-vault
Make providers stand-alone
1,409
13.12.2019 20:59:19
-39,600
3531b19dd6165267ef9b8894bddd3a40f1ee2de9
Use STS a provided STS client
[ { "change_type": "MODIFY", "old_path": "vault/assumeroleprovider.go", "new_path": "vault/assumeroleprovider.go", "diff": "package vault\nimport (\n- \"errors\"\n\"fmt\"\n\"log\"\n\"time\"\n@@ -11,26 +10,22 @@ import (\n\"github.com/aws/aws-sdk-go/service/sts\"\n)\n-// AssumeRoleProvider provides cre...
Go
MIT License
99designs/aws-vault
Use STS a provided STS client
1,409
14.12.2019 13:14:14
-39,600
09c9805d633fc0c3123321a71c90b0e7b421465a
Create a standalone session cache provider
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -100,7 +100,7 @@ func ExecCommand(app *kingpin.Application, input ExecCommandInput) {\nreturn\n}\n- creds, err := vault.NewTempCredentials(input.Keyring, &input.Config)\n+ creds, err := vault.NewTempCredenti...
Go
MIT License
99designs/aws-vault
Create a standalone session cache provider
1,409
15.12.2019 19:58:54
-39,600
b2309600add8cca127a2e8f4317e7af1973fc076
Use ExpiryWindow in providers
[ { "change_type": "MODIFY", "old_path": "vault/assumeroleprovider.go", "new_path": "vault/assumeroleprovider.go", "diff": "@@ -10,18 +10,19 @@ import (\n\"github.com/aws/aws-sdk-go/service/sts\"\n)\n-// AssumeRoleProvider retrieves temporary credentials using STS AssumeRole\n+// AssumeRoleProvider re...
Go
MIT License
99designs/aws-vault
Use ExpiryWindow in providers
1,409
16.12.2019 12:29:38
-39,600
06f8ca323ed19709ab18fc68d4bfbc641aa44c16
Improve naming and logging
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -100,7 +100,7 @@ func ExecCommand(app *kingpin.Application, input ExecCommandInput) {\nreturn\n}\n- creds, err := vault.NewTempCredentials(input.Keyring, input.Config)\n+ creds, err := vault.NewCredentials(i...
Go
MIT License
99designs/aws-vault
Improve naming and logging
1,409
17.12.2019 09:47:47
-39,600
55f86ccff2b86978ded57696893afb9669341e89
Fix visibility of funcs
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -34,8 +34,8 @@ type ConfigFile struct {\niniFile *ini.File\n}\n-// ConfigPath returns either $AWS_CONFIG_FILE or ~/.aws/config\n-func ConfigPath() (string, error) {\n+// configPath returns either $AW...
Go
MIT License
99designs/aws-vault
Fix visibility of funcs
1,409
17.12.2019 19:54:15
-39,600
24973b1c26f4213ae438404ebe36c4778e8800bd
Fix session listings
[ { "change_type": "MODIFY", "old_path": "cli/ls.go", "new_path": "cli/ls.go", "diff": "@@ -129,7 +129,7 @@ func LsCommand(app *kingpin.Application, input LsCommandInput) {\n}\n}\n- if len(sessions) > 0 {\n+ if len(sessionLabels) > 0 {\nfmt.Fprintf(w, \"%s\\t\\n\", strings.Join(sessionLabels, \", \"))...
Go
MIT License
99designs/aws-vault
Fix session listings
1,409
17.12.2019 20:27:29
-39,600
3610de921783f9ac39b3c048839957656d5505a9
Fix superfluous "default" in listing
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -143,7 +143,8 @@ func (c *ConfigFile) ProfileSections() []ProfileSection {\n}\nfor _, section := range c.iniFile.SectionStrings() {\n- if section != \"DEFAULT\" {\n+ // we use Insensitive:true for in...
Go
MIT License
99designs/aws-vault
Fix superfluous "default" in listing
1,409
18.12.2019 20:28:49
-39,600
6f42dcf1a3ef6a93a327367803d569b17fccd819
Fix parsing of default profile
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -7,6 +7,7 @@ require (\ngithub.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect\ngithub.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect\ngithub.com/aws/aws-sdk-go v1.25.37\n+ ...
Go
MIT License
99designs/aws-vault
Fix parsing of default profile
1,409
19.12.2019 21:11:06
-39,600
10c0af79650f66abd7ff32e55e652417cbe7e4f2
Move username truncation func
[ { "change_type": "MODIFY", "old_path": "vault/credentials.go", "new_path": "vault/credentials.go", "diff": "@@ -153,11 +153,6 @@ func NewFederationTokenCredentials(k keyring.Keyring, config Config) (*credentia\nreturn nil, err\n}\n- // truncate the username if it's longer than 32 characters or else ...
Go
MIT License
99designs/aws-vault
Move username truncation func
1,409
20.12.2019 09:01:36
-39,600
ae1fb0d291cfc4444c089742d0f87a7783600108
Clean up error handling in login
[ { "change_type": "MODIFY", "old_path": "cli/login.go", "new_path": "cli/login.go", "diff": "@@ -56,29 +56,33 @@ func ConfigureLoginCommand(app *kingpin.Application) {\ninput.Config.GetSessionTokenDuration = input.SessionDuration\ninput.Config.AssumeRoleDuration = input.SessionDuration\ninput.Keyring...
Go
MIT License
99designs/aws-vault
Clean up error handling in login
1,409
20.12.2019 09:07:44
-39,600
51909f167a6532408c7e0f28f69b4c403e2f179a
Add docs from
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -430,3 +430,29 @@ aws-vault exec --mfa-token $(ykman oath code --single ${YOUR_YUBIKEY_PROFILE}) $\n```\n[Here](https://gist.github.com/chtorr/0ecc8fca27a4c5e186c636c262cc4757) There're some helper scripts for thi...
Go
MIT License
99designs/aws-vault
Add docs from #470
1,409
08.01.2020 22:46:30
-39,600
955600c8b0a7ebbdabd6fc517758f7b472af8d56
Fix loading config from default section
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -80,16 +80,16 @@ The default is to use environment variables, but you can opt-in to the local ins\nFirst you'll need to create the users and roles in IAM. Next, edit your `~/.aws/config` to add profiles with a `...
Go
MIT License
99designs/aws-vault
Fix loading config from default section
1,409
08.01.2020 22:51:58
-39,600
0112406b2cc4f63ea55baaa51e592a8d0aa08bba
Don't use default section when using parent
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -316,9 +316,7 @@ func (cl *ConfigLoader) populateFromConfigFile(config *Config, profileName strin\nif err != nil {\nreturn err\n}\n- }\n-\n- if profileName != defaultSectionName {\n+ } else if profil...
Go
MIT License
99designs/aws-vault
Don't use default section when using parent
1,333
20.12.2019 20:07:55
28,800
715e0092742b6332bd14f01583be641c442d13c0
Set session expiration env var on exec Fixes
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -171,6 +171,11 @@ func ExecCommand(input ExecCommandInput) error {\nlog.Println(\"Setting subprocess env: AWS_SESSION_TOKEN, AWS_SECURITY_TOKEN\")\nenv.Set(\"AWS_SESSION_TOKEN\", val.SessionToken)\nenv.Set(\...
Go
MIT License
99designs/aws-vault
Set session expiration env var on exec Fixes #473
1,409
08.01.2020 23:42:04
-39,600
3528aff2b676613b090d33ffafa7241e3e0e984a
Release binaries for Linux ARM64
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -6,10 +6,10 @@ SRC=$(shell find . -name '*.go')\n.PHONY: all clean release install\n-all: aws-vault-linux-amd64 aws-vault-darwin-amd64 aws-vault-windows-386.exe aws-vault-freebsd-amd64\n+all: aws-vault-linux-amd64...
Go
MIT License
99designs/aws-vault
Release binaries for Linux ARM64
1,409
08.01.2020 23:56:50
-39,600
b5e0cab6184ce3d3cb1eae72d2bd776469e0c334
Only need to skip MFA if it is present
[ { "change_type": "MODIFY", "old_path": "vault/vault.go", "new_path": "vault/vault.go", "diff": "@@ -147,7 +147,7 @@ func (c *CredentialLoader) ProviderWithChainedMfa(profileName string, isChained\nsourceCredProvider = NewMasterCredentialsProvider(c.Keyring, config.ProfileName)\n} else if config.Sour...
Go
MIT License
99designs/aws-vault
Only need to skip MFA if it is present
1,415
10.01.2020 17:05:43
18,000
1793137424896ada6bffd5bc542e26548dbcc32e
Update USAGE doc for duration flag change. See
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -305,10 +305,9 @@ security of the setup. You can execute the same test as before to see it for you\nIf you try to assume a role from an opened (temporary) session, AWS considers that as *role\nchaining* and it lim...
Go
MIT License
99designs/aws-vault
Update USAGE doc for duration flag change. See #464 Signed-off-by: Scott Rigby <scott@r6by.com>
1,415
10.01.2020 17:14:02
18,000
5ee329cba48a8f3ea4b661a2013abb47da4a75c3
Link to AWS docs for assuming role and role chaining
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -303,8 +303,8 @@ security of the setup. You can execute the same test as before to see it for you\n### Assuming a role for more than 1h\n-If you try to assume a role from an opened (temporary) session, AWS conside...
Go
MIT License
99designs/aws-vault
Link to AWS docs for assuming role and role chaining Signed-off-by: Scott Rigby <scott@r6by.com>
1,409
13.01.2020 21:31:11
-39,600
7daf3aa7d479e48efe8e3854b01cea47e603528d
Don't use exec syscall when starting the server
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -5,7 +5,11 @@ import (\n\"fmt\"\n\"log\"\n\"os\"\n+ \"os/exec\"\n+ \"os/signal\"\n+ \"runtime\"\n\"strings\"\n+ \"syscall\"\n\"time\"\n\"github.com/99designs/aws-vault/server\"\n@@ -179,7 +183,12 @@ func Exe...
Go
MIT License
99designs/aws-vault
Don't use exec syscall when starting the server
1,409
16.01.2020 21:41:38
-39,600
8fce2836f1d9ccd87883fdbd0832290ce3b25516
Add the chained profiles to config
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -100,7 +100,7 @@ func ExecCommand(input ExecCommandInput) error {\n}\nconfigLoader.BaseConfig = input.Config\n- configLoader.ProfileNameForEnv = input.ProfileName\n+ configLoader.ActiveProfile = input.Profil...
Go
MIT License
99designs/aws-vault
Add the chained profiles to config
1,409
16.01.2020 21:43:14
-39,600
2aef853d28b9b56ef658ab971356a21971d78761
Move isChained logic
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -461,6 +461,10 @@ type Config struct {\nGetFederationTokenDuration time.Duration\n}\n+func (c *Config) IsChained() bool {\n+ return c.ChainedFromProfile != nil\n+}\n+\n// Validate checks that the Con...
Go
MIT License
99designs/aws-vault
Move isChained logic
1,409
17.01.2020 00:11:13
-39,600
0c7fd570b6b3897b0b44bde3e0658dec6772e241
Use new config methods to clarify
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -465,6 +465,20 @@ func (c *Config) IsChained() bool {\nreturn c.ChainedFromProfile != nil\n}\n+func (c *Config) HasSourceProfile() bool {\n+ return c.SourceProfile != nil\n+}\n+\n+func (c *Config) Ha...
Go
MIT License
99designs/aws-vault
Use new config methods to clarify
1,409
17.01.2020 00:21:39
-39,600
9f00bf820c2bd12cef68a9bfc11b0d4bd5831bdb
Add UseSession flag
[ { "change_type": "MODIFY", "old_path": "vault/vault.go", "new_path": "vault/vault.go", "diff": "@@ -15,6 +15,7 @@ import (\nconst defaultExpirationWindow = 5 * time.Minute\n+var UseSession = true\nvar UseSessionCache = true\nfunc NewSession(creds *credentials.Credentials, region string) (*session.Se...
Go
MIT License
99designs/aws-vault
Add UseSession flag
1,409
17.01.2020 00:31:02
-39,600
2c9d2d257823ab9688ccf1cec7820f54a7d3cd46
Fix --no-session flag
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -15,7 +15,6 @@ import (\n\"github.com/99designs/aws-vault/server\"\n\"github.com/99designs/aws-vault/vault\"\n\"github.com/99designs/keyring\"\n- \"github.com/aws/aws-sdk-go/aws/credentials\"\n\"gopkg.in/ale...
Go
MIT License
99designs/aws-vault
Fix --no-session flag
1,409
17.01.2020 10:46:10
-39,600
59019c9a7eafc8f4a68d0c0e34ba55f8c500b2ce
Remove config validation, AWS does it better
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -14,21 +14,6 @@ import (\n)\nconst (\n- // MinGetSessionTokenDuration is the AWS minumum duration for GetSessionToken\n- MinGetSessionTokenDuration = time.Minute * 15\n- // MaxGetSessionTokenDuration...
Go
MIT License
99designs/aws-vault
Remove config validation, AWS does it better
1,409
17.01.2020 11:13:54
-39,600
f97f806d135f31dcaddeb94635e0c612b0fc3c11
Never use GetSessionToken when rotating
[ { "change_type": "MODIFY", "old_path": "cli/rotate.go", "new_path": "cli/rotate.go", "diff": "@@ -42,7 +42,7 @@ func ConfigureRotateCommand(app *kingpin.Application) {\n}\nfunc RotateCommand(input RotateCommandInput) error {\n- vault.UseSession = !input.NoSession\n+ vault.UseSession = false\nvault.U...
Go
MIT License
99designs/aws-vault
Never use GetSessionToken when rotating
1,409
17.01.2020 11:24:59
-39,600
1aae03f8c6b04c5d5a039ddb4bca62e43ce6242d
Add comment to explain why we might need sesssions
[ { "change_type": "MODIFY", "old_path": "cli/rotate.go", "new_path": "cli/rotate.go", "diff": "@@ -42,6 +42,7 @@ func ConfigureRotateCommand(app *kingpin.Application) {\n}\nfunc RotateCommand(input RotateCommandInput) error {\n+ // Can't disable sessions completely, might need to use session for MFA-...
Go
MIT License
99designs/aws-vault
Add comment to explain why we might need sesssions
1,409
21.01.2020 19:47:56
-39,600
b5c0224fd762ff5b50f013eb450de2f5d4d74dad
Don't use chained GetSessionToken if role's duration is over 1 hour
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -80,7 +80,7 @@ func ConfigureExecCommand(app *kingpin.Application) {\ncmd.Action(func(c *kingpin.ParseContext) error {\ninput.Keyring = keyringImpl\ninput.Config.MfaPromptMethod = GlobalFlags.PromptDriver\n-...
Go
MIT License
99designs/aws-vault
Don't use chained GetSessionToken if role's duration is over 1 hour
1,409
21.01.2020 22:37:12
-39,600
13d41f1dbcf4c97a0a697aaf6a28bfb12f415a29
Fix use of GetSessionToken when a single profile is used
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -461,26 +461,29 @@ func (c *Config) HasRole() bool {\nreturn c.RoleARN != \"\"\n}\n-func (c *Config) MfaAlreadyUsedInSourceProfile() bool {\n- return c.HasSourceProfile() &&\n- c.MfaSerial != \"\" &&...
Go
MIT License
99designs/aws-vault
Fix use of GetSessionToken when a single profile is used
1,409
22.01.2020 22:09:35
-39,600
a6c2a7c867c85361d5293d0b6fc2b4c271edf2dc
Keep track of mfa serial when chaining
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -461,18 +461,6 @@ func (c *Config) HasRole() bool {\nreturn c.RoleARN != \"\"\n}\n-func (c *Config) MfaAlreadyUsedInSourceProfile(mfaSerial string) bool {\n-\n- if !c.HasSourceProfile() || mfaSerial ...
Go
MIT License
99designs/aws-vault
Keep track of mfa serial when chaining
1,409
22.01.2020 22:19:11
-39,600
a23e9fdc9b40f9f7b4f634c388dae8c393e96735
Add --no-session to login
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -49,7 +49,7 @@ func ConfigureExecCommand(app *kingpin.Application) {\nShort('d').\nDurationVar(&input.SessionDuration)\n- cmd.Flag(\"no-session\", \"Don't create a session with GetSessionToken\").\n+ cmd.Fla...
Go
MIT License
99designs/aws-vault
Add --no-session to login
1,409
22.01.2020 22:38:25
-39,600
3f6d7d6491ccc5c791e1099df6eda301982ff638
Add SHA256SUMS file to releases
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "/aws-vault\n/aws-vault-*\n+/SHA256SUMS\n" }, { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "-export GO111MODULE=on\nVERSION=$(shell git describe --tags --c...
Go
MIT License
99designs/aws-vault
Add SHA256SUMS file to releases
1,409
10.02.2020 21:12:43
-39,600
e05eb98557ab4dd3395cc87873c861cd1203247c
Fix autocompletion of profile names. Fixes
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -67,7 +67,7 @@ func ConfigureExecCommand(app *kingpin.Application) {\ncmd.Arg(\"profile\", \"Name of the profile\").\nRequired().\n- HintAction(awsConfigFile.ProfileNames).\n+ HintAction(getProfileNames).\nS...
Go
MIT License
99designs/aws-vault
Fix autocompletion of profile names. Fixes #506
1,363
12.02.2020 16:12:56
-3,600
b5a6d8f745ee972e2fb7cb22a1946887729e1137
Add support for kdialog
[ { "change_type": "ADD", "old_path": null, "new_path": "prompt/kdialog.go", "diff": "+package prompt\n+\n+import (\n+ \"os/exec\"\n+ \"strings\"\n+)\n+\n+func KDialogPrompt(prompt string) (string, error) {\n+ cmd := exec.Command(\"kdialog\", \"--inputbox\", prompt, \"--title\", \"aws-vault\")\n+\n+ o...
Go
MIT License
99designs/aws-vault
Add support for kdialog
1,409
14.02.2020 13:33:22
-39,600
f26b718f741a3f5c51809982539e6d7a1b6f4280
Don't allow profiles to refer to themselves Fixes
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -309,6 +309,11 @@ func (cl *ConfigLoader) populateFromConfigFile(config *Config, profileName strin\n}\n}\n+ // Ignore source_profile if it recursively refers to the profile\n+ if config.SourceProfile...
Go
MIT License
99designs/aws-vault
Don't allow profiles to refer to themselves Fixes #504
1,409
16.02.2020 20:48:30
-39,600
1ce365597489943c2894d3265280933af28de102
Disable shared config loaded by the SDK
[ { "change_type": "MODIFY", "old_path": "vault/vault.go", "new_path": "vault/vault.go", "diff": "@@ -18,7 +18,13 @@ const defaultExpirationWindow = 5 * time.Minute\nvar UseSessionCache = true\nfunc NewSession(creds *credentials.Credentials, region string) (*session.Session, error) {\n- return session...
Go
MIT License
99designs/aws-vault
Disable shared config loaded by the SDK
1,409
16.02.2020 20:55:56
-39,600
08643525f1f2fc2063dc206f1a9bce44363ed1cb
Log the version
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -75,6 +75,7 @@ func ConfigureGlobals(app *kingpin.Application) {\n} else {\nkeyring.Debug = true\n}\n+ log.Printf(\"aws-vault %s\", app.Model().Version)\nif keyringImpl == nil {\nvar allowedBackends []ke...
Go
MIT License
99designs/aws-vault
Log the version
1,409
18.02.2020 14:17:13
-39,600
12866e7ee7395f990facc4a5761d686131884b53
Use -s with gofmt
[ { "change_type": "MODIFY", "old_path": ".github/workflows/go.yml", "new_path": ".github/workflows/go.yml", "diff": "@@ -33,4 +33,4 @@ jobs:\nrun: go vet ./...\n- name: Check go fmt\n- run: diff -u <(echo -n) <(gofmt -d $(git ls-files '*.go'))\n+ run: diff -u <(echo -n) <(gofmt -s -d .)\n" }, { ...
Go
MIT License
99designs/aws-vault
Use -s with gofmt
1,409
18.02.2020 20:43:38
-39,600
07602744d0bdaa5560f1fdf4f9d95cfb9f8beb52
Fix test for recursive source_profile. Fixes
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -310,7 +310,7 @@ func (cl *ConfigLoader) populateFromConfigFile(config *Config, profileName strin\n}\n// Ignore source_profile if it recursively refers to the profile\n- if config.SourceProfileName =...
Go
MIT License
99designs/aws-vault
Fix test for recursive source_profile. Fixes #527
1,366
09.03.2020 13:33:44
21,600
456e805f19eb7578450697b807c7ff66d90714a9
Adds info on changing Keychain password timeout This is a common issue for folks -- See issues: and Hopefully this documentation helps others find this simple way to configure how often you need to supply your password.
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "* [Getting Help](#getting-help)\n* [Config](#config)\n* [Environment variables](#environment-variables)\n+* [Configuring Keychain Password Prompting Time](#configuring-keychain-password-prompting-time)\n* [Managing P...
Go
MIT License
99designs/aws-vault
Adds info on changing Keychain password timeout This is a common issue for folks -- See issues: #534, #219, and #211. Hopefully this documentation helps others find this simple way to configure how often you need to supply your password.
1,366
10.03.2020 11:56:18
21,600
80df944ead7cd01f9384882363bef96273a82bad
Updates with info on not having aws-vault keychain
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -93,6 +93,7 @@ If you're looking to configure the amount of time between having to enter your K\n1. Open \"Keychain Access\"\n1. Open the aws-vault keychain\n+ 1. If you do not have \"aws-vault\" in the sidebar of...
Go
MIT License
99designs/aws-vault
Updates with info on not having aws-vault keychain
1,400
02.04.2020 21:20:34
14,400
23109d347a52e7ef8d0df3b3bd4425b558d4a0ba
Link AWS_FEDERATION_TOKEN_TTL to correct Config field
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -356,9 +356,9 @@ func (cl *ConfigLoader) populateFromEnv(profile *Config) {\n}\nif federationTokenTTL := os.Getenv(\"AWS_FEDERATION_TOKEN_TTL\"); federationTokenTTL != \"\" && profile.GetFederationTo...
Go
MIT License
99designs/aws-vault
Link AWS_FEDERATION_TOKEN_TTL to correct Config field
1,417
17.04.2020 12:34:21
-7,200
12bcb606863d6a924a8556138f01a7534fbe23a0
feat: pipe instructions to stderr
[ { "change_type": "MODIFY", "old_path": "vault/ssorolecredentialsprovider.go", "new_path": "vault/ssorolecredentialsprovider.go", "diff": "@@ -4,6 +4,7 @@ import (\n\"encoding/json\"\n\"fmt\"\n\"log\"\n+ \"os\"\n\"time\"\n\"github.com/99designs/keyring\"\n@@ -225,8 +226,7 @@ func (p *SSOOIDCProvider)...
Go
MIT License
99designs/aws-vault
feat: pipe instructions to stderr Co-authored-by: Kristian Dalmo Olsen <kristian@doingit.no>
1,409
18.04.2020 14:12:30
-36,000
8ad90a600511cab995fdc6884d5bca117075fbb2
Error when no cmd given
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -85,6 +85,9 @@ func ConfigureExecCommand(app *kingpin.Application) {\nif input.Command == \"\" {\ninput.Command, input.Args = getDefaultShellCmd()\n}\n+ if input.Command == \"\" {\n+ app.Fatalf(\"Argument 'c...
Go
MIT License
99designs/aws-vault
Error when no cmd given
1,409
18.04.2020 14:36:45
-36,000
f0602a9d1d39f31eee1f084050185b591d5ded2d
Move router to local http server
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -139,7 +139,7 @@ func ExecCommand(input ExecCommandInput) error {\n}\nif input.StartServer {\n- if err := server.StartCredentialsServer(creds); err != nil {\n+ if err := server.StartLocalServer(creds); err !...
Go
MIT License
99designs/aws-vault
Move router to local http server
1,409
18.04.2020 19:54:23
-36,000
51160d1ac9f57fda5d12542d5c3fe78117616edb
Refactor exec to make json and server options more consistent
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -5,7 +5,7 @@ import (\n\"fmt\"\n\"log\"\n\"os\"\n- \"os/exec\"\n+ osexec \"os/exec\"\n\"os/signal\"\n\"path/filepath\"\n\"runtime\"\n@@ -16,6 +16,7 @@ import (\n\"github.com/99designs/aws-vault/server\"\n\"g...
Go
MIT License
99designs/aws-vault
Refactor exec to make json and server options more consistent
1,409
18.04.2020 20:15:19
-36,000
6c3332194bba21afd8c5201d0f9ebd87a4caaec2
Add AWS region retrieval from metadata server. Fixes
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -151,7 +151,7 @@ func ExecCommand(input ExecCommandInput) error {\n}\nfunc execServer(input ExecCommandInput, config *vault.Config, creds *credentials.Credentials) error {\n- if err := server.StartLocalServe...
Go
MIT License
99designs/aws-vault
Add AWS region retrieval from metadata server. Fixes #542
1,409
19.04.2020 01:11:01
-36,000
c95bb48e74e7c319b9f3cdda456207653530b362
Refactor ECS server
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -198,7 +198,7 @@ func execEc2Server(input ExecCommandInput, config *vault.Config, creds *credenti\n}\nfunc execEcsServer(input ExecCommandInput, config *vault.Config, creds *credentials.Credentials) error {\...
Go
MIT License
99designs/aws-vault
Refactor ECS server
1,409
19.04.2020 11:10:04
-36,000
0e416cc05638119a1f00e894860b1382fbe39ad3
Always set the aws region env vars
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -173,7 +173,7 @@ func ExecCommand(input ExecCommandInput) error {\nreturn execEnvironment(input, config, creds)\n}\n-func unsetAwsEnvVars(env environ) {\n+func updateEnvForAwsVault(env environ, region string...
Go
MIT License
99designs/aws-vault
Always set the aws region env vars
1,409
19.04.2020 13:48:44
-36,000
2d2303d97fb39fa6df2bbc6430c76f5b529b86aa
More naming fixes and better http logging
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -193,7 +193,7 @@ func updateEnvForAwsVault(env environ, profileName string, region string) enviro\n}\nfunc execEc2Server(input ExecCommandInput, config *vault.Config, creds *credentials.Credentials) error {\...
Go
MIT License
99designs/aws-vault
More naming fixes and better http logging
1,409
19.04.2020 15:46:43
-36,000
21f8105130e9fe91151ef0cf3f644fbda87ca528
Add --region to login
[ { "change_type": "MODIFY", "old_path": "cli/login.go", "new_path": "cli/login.go", "diff": "@@ -46,6 +46,9 @@ func ConfigureLoginCommand(app *kingpin.Application) {\ncmd.Flag(\"path\", \"The AWS service you would like access\").\nStringVar(&input.Path)\n+ cmd.Flag(\"region\", \"The AWS region\").\n+...
Go
MIT License
99designs/aws-vault
Add --region to login
1,409
19.04.2020 15:48:00
-36,000
732e29ed2eb664c2b18a5f50ae0312ec0873d072
Add --region to exec
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -56,6 +56,9 @@ func ConfigureExecCommand(app *kingpin.Application) {\nShort('n').\nBoolVar(&input.NoSession)\n+ cmd.Flag(\"region\", \"The AWS region\").\n+ StringVar(&input.Config.Region)\n+\ncmd.Flag(\"mfa...
Go
MIT License
99designs/aws-vault
Add --region to exec
1,409
20.04.2020 14:47:29
-36,000
591a63b08a19fea11184c54818210ec4a9bd92dc
Fix error handling in ecs server
[ { "change_type": "MODIFY", "old_path": "server/ec2.go", "new_path": "server/ec2.go", "diff": "@@ -86,7 +86,7 @@ func startEc2CredentialsServer(creds *credentials.Credentials, region string) {\nrouter.HandleFunc(\"/latest/meta-data/iam/security-credentials/local-credentials\", credsHandler(creds))\n-...
Go
MIT License
99designs/aws-vault
Fix error handling in ecs server
1,409
20.04.2020 14:54:58
-36,000
255e9cbc662a362db0ab62d8c8a84e101bbdb491
Don't set region env vars twice
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -188,9 +188,11 @@ func updateEnvForAwsVault(env environ, profileName string, region string) enviro\nenv.Set(\"AWS_VAULT\", profileName)\n+ if region != \"\" {\nlog.Printf(\"Setting subprocess env: AWS_DEFAUL...
Go
MIT License
99designs/aws-vault
Don't set region env vars twice
1,409
20.04.2020 23:38:17
-36,000
e8e98baf043b69c796de24c05cb5845940f1a6b4
Update USAGE.md TOC
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "* [Configuring Keychain Password Prompting Time](#configuring-keychain-password-prompting-time)\n* [Managing Profiles](#managing-profiles)\n* [Using multiple profiles](#using-multiple-profiles)\n- * [Example ~/.aws/c...
Go
MIT License
99designs/aws-vault
Update USAGE.md TOC
1,409
20.04.2020 23:42:26
-36,000
bcd1d3994ee14bf3974dae574503c1b88e7023b2
Add ykman prompt
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "* [Assuming a role for more than 1h](#assuming-a-role-for-more-than-1h)\n* [Being able to perform certain STS operations](#being-able-to-perform-certain-sts-operations)\n* [Rotating Credentials](#rotating-credentials...
Go
MIT License
99designs/aws-vault
Add ykman prompt
1,409
21.04.2020 10:47:14
-36,000
2ff5b26d38bc99cfd0b005d86080335b874961a7
Use YKMAN_OATH_CREDENTIAL_NAME to override ykman credential
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -432,7 +432,9 @@ Using the `ykman` prompt driver, aws-vault will execute `ykman` to generate toke\n```bash\naws-vault exec --prompt ykman ${AWS_VAULT_PROFILE_USING_MFA} -- aws s3 ls\n```\n-You can also set the `AW...
Go
MIT License
99designs/aws-vault
Use YKMAN_OATH_CREDENTIAL_NAME to override ykman credential
1,409
21.04.2020 11:11:05
-36,000
34e4756151cab0563d480b0217841dac6635d239
Output all stderr
[ { "change_type": "MODIFY", "old_path": "prompt/ykman.go", "new_path": "prompt/ykman.go", "diff": "@@ -16,14 +16,11 @@ func YkmanProvider(mfaSerial string) (string, error) {\n}\ncmd := exec.Command(\"ykman\", \"oath\", \"code\", \"--single\", yubikeyOathCredName)\n+ cmd.Stderr = os.Stderr\nout, err :...
Go
MIT License
99designs/aws-vault
Output all stderr
1,409
21.04.2020 22:00:33
-36,000
642bc0cd733edc7182d2623a71711f4986867def
Keep the message short and sweet
[ { "change_type": "MODIFY", "old_path": "vault/ssorolecredentialsprovider.go", "new_path": "vault/ssorolecredentialsprovider.go", "diff": "@@ -21,15 +21,7 @@ const (\nssoClientName = \"aws-vault\"\nssoClientType = \"public\"\noAuthTokenGrantType = \"urn:ietf:params:oauth:grant-type:device_code\"\n- a...
Go
MIT License
99designs/aws-vault
Keep the message short and sweet
1,409
21.04.2020 22:00:50
-36,000
2caf32d3a26930dfa8bc3fbea608a6a4ee85c18e
Make expires time easier to read
[ { "change_type": "MODIFY", "old_path": "vault/ssorolecredentialsprovider.go", "new_path": "vault/ssorolecredentialsprovider.go", "diff": "@@ -256,9 +256,11 @@ func (p *SSOOIDCProvider) createClientToken(creds *SSOClientCredentials) (*SSOAc\nreturn nil, err\n}\n}\n+ expiresInSecs := time.Duration(aws...
Go
MIT License
99designs/aws-vault
Make expires time easier to read
1,397
21.04.2020 11:55:17
-7,200
9da7bc664ac4a3f4a70cf94eba2545b5f33ced79
Add contrib script to enable a mfa device via ykman This script helps to add a yubikey using ykman. See
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -448,6 +448,8 @@ You can verify these prerequisites by running `ykman info` and checking `OATH` i\nreplacing `${ACCOUNT_ID}` with your AWS account ID and `${IAM_USERNAME}` with your IAM username. It will prompt yo...
Go
MIT License
99designs/aws-vault
Add contrib script to enable a mfa device via ykman This script helps to add a yubikey using ykman. See https://github.com/99designs/aws-vault/pull/558
1,417
21.04.2020 23:13:15
-7,200
3e62c3410b800e7184f96db174b16d4d58e168e0
Add unit tests for SSO provider
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -9,6 +9,7 @@ require (\ngithub.com/aws/aws-sdk-go v1.25.37\ngithub.com/google/go-cmp v0.3.1\ngithub.com/keybase/go-keychain v0.0.0-20191220220820-f65a47cbe0b1 // indirect\n+ github.com/maxbrunsfeld/counterfeiter/v6 v6...
Go
MIT License
99designs/aws-vault
Add unit tests for SSO provider Co-authored-by: Kristian Dalmo Olsen <kristian@doingit.no>
1,385
22.04.2020 11:36:21
-7,200
ef332d17c9a1c37a0e1cf9e9404980287553d369
Stream errors to stderr
[ { "change_type": "MODIFY", "old_path": "main.go", "new_path": "main.go", "diff": "@@ -20,8 +20,7 @@ func run(args []string, exit func(int)) {\n`A vault for securely storing and accessing AWS credentials in development environments.`,\n)\n- app.ErrorWriter(os.Stderr)\n- app.Writer(os.Stdout)\n+ app.U...
Go
MIT License
99designs/aws-vault
Stream errors to stderr
1,409
21.04.2020 22:29:04
-36,000
3bf06f27943dc07d4a9ee0cc98679bbb216f788e
Rename parent_profile to include_profile
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "* [Getting Help](#getting-help)\n* [Config](#config)\n+ * [`include_profile`](#include_profile)\n* [Environment variables](#environment-variables)\n* [Configuring Keychain Password Prompting Time](#configuring-keycha...
Go
MIT License
99designs/aws-vault
Rename parent_profile to include_profile
1,409
24.04.2020 14:14:35
-36,000
e25b53716545d8c9fcbb967b32af915d9327ef39
Update keyring dependency. Fixes
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,18 +3,18 @@ module github.com/99designs/aws-vault\ngo 1.13\nrequire (\n- github.com/99designs/keyring v1.1.4\n+ github.com/99designs/keyring v1.1.5\ngithub.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751...
Go
MIT License
99designs/aws-vault
Update keyring dependency. Fixes #562
1,409
24.04.2020 14:36:52
-36,000
57a36deb75065c321e6aa64935e1920684c4f91b
Remove incorrect error message
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -56,14 +56,6 @@ func AddCommand(input AddCommandInput, keyring *vault.CredentialKeyring, awsConf\nreturn fmt.Errorf(\"Your profile has a source_profile of %s, adding credentials to %s won't have any effect\",\...
Go
MIT License
99designs/aws-vault
Remove incorrect error message
1,409
26.04.2020 13:01:03
-36,000
ce543edf9d32574bba408522f01169440bcb852a
Fix go mod import paths
[ { "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/prompt\"\n- \"github.com/99designs/aws-vault/vault\"\n+ \"github.com/99designs/aws-vault/v5/prompt\"\n+ \"github.com/99designs/aws-vau...
Go
MIT License
99designs/aws-vault
Fix go mod import paths
1,409
29.04.2020 23:33:07
-36,000
218f674231b44cc2f3a1d965408a5ba4ca5e5982
Generalise CachedSessionProvider
[ { "change_type": "RENAME", "old_path": "vault/cachedsessiontokenprovider.go", "new_path": "vault/cachedsessionprovider.go", "diff": "@@ -5,34 +5,30 @@ import (\n\"time\"\n\"github.com/aws/aws-sdk-go/aws/credentials\"\n+ \"github.com/aws/aws-sdk-go/service/sts\"\n)\n-// CachedSessionTokenProvider ret...
Go
MIT License
99designs/aws-vault
Generalise CachedSessionProvider
1,409
30.04.2020 00:02:23
-36,000
fb7bba099e78f1cac1536b059f2473d18949f6d7
Simplify SSORoleCredentialsProvider
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -9,7 +9,6 @@ require (\ngithub.com/aws/aws-sdk-go v1.25.37\ngithub.com/google/go-cmp v0.3.1\ngithub.com/keybase/go-keychain v0.0.0-20200325143049-65d7292bc904 // indirect\n- github.com/maxbrunsfeld/counterfeiter/v6 v6...
Go
MIT License
99designs/aws-vault
Simplify SSORoleCredentialsProvider
1,409
30.04.2020 00:19:00
-36,000
f87fbe98a5e913ca06ae7ad87f3de3a4e8eff728
Add caching to AssumeRole
[ { "change_type": "MODIFY", "old_path": "vault/cachedsessionprovider.go", "new_path": "vault/cachedsessionprovider.go", "diff": "@@ -33,7 +33,7 @@ func (p *CachedSessionProvider) Retrieve() (credentials.Value, error) {\nreturn credentials.Value{}, err\n}\n} else {\n- log.Printf(\"Re-using cached cred...
Go
MIT License
99designs/aws-vault
Add caching to AssumeRole
1,409
01.05.2020 00:02:55
-36,000
b552cb805e738e4f71c402676bbe3455bb2f4a6b
Restore key case insensitivity
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -15,7 +15,7 @@ require (\ngolang.org/x/crypto v0.0.0-20200423211502-4bdfaf469ed5\ngolang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f // indirect\ngopkg.in/alecthomas/kingpin.v2 v2.2.6\n- gopkg.in/ini.v1 v1.51.0\n+ go...
Go
MIT License
99designs/aws-vault
Restore key case insensitivity
1,409
01.05.2020 08:47:01
-36,000
5f4e4c3c4ceffa8db11f49e4997200c2d8cb2d25
Update import paths to v6
[ { "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/v5/prompt\"\n- \"github.com/99designs/aws-vault/v5/vault\"\n+ \"github.com/99designs/aws-vault/v6/prompt\"\n+ \"github.com/99designs/a...
Go
MIT License
99designs/aws-vault
Update import paths to v6
1,409
01.05.2020 10:59:42
-36,000
65e18e58756daf3d5d30f590af0b99a62600cca4
Organise contrib
[ { "change_type": "RENAME", "old_path": "completions/bash/aws-vault", "new_path": "contrib/completions/bash/aws-vault.bash", "diff": "" }, { "change_type": "RENAME", "old_path": "completions/fish/aws-vault.fish", "new_path": "contrib/completions/fish/aws-vault.fish", "diff": "" ...
Go
MIT License
99designs/aws-vault
Organise contrib
1,409
01.05.2020 11:30:15
-36,000
e0fbe18135e2fa3107072dfb914f9ca2b4ccdab9
Document shell completions
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "* [Prerequisites](#prerequisites)\n* [Setup](#setup)\n* [Usage](#usage)\n+* [Shell completion](#shell-completion)\n* [Recipes](#recipes)\n* [Desktop apps](#desktop-apps)\n* [Overriding the aws CLI to use aws-vault](#...
Go
MIT License
99designs/aws-vault
Document shell completions
1,409
01.05.2020 16:28:43
-36,000
2386d866b01af7737f29a161a515211bde2f86a1
Make make install more useable for those without a cert
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -37,5 +37,5 @@ SHA256SUMS: binaries aws-vault-darwin-amd64.dmg\ninstall:\nrm -f aws-vault\ngo build $(BUILD_FLAGS) .\n- codesign --options runtime --timestamp --sign \"$(CERT_ID)\" aws-vault\n+ codesign --options ...
Go
MIT License
99designs/aws-vault
Make make install more useable for those without a cert
1,371
01.05.2020 08:44:11
18,000
14969908809f62ec02cac81008cd6038f1901bd0
Fix infinite recursion issue for missing/invalid profile Fixes
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -151,11 +151,10 @@ The [macOS release builds](https://github.com/99designs/aws-vault/releases) are\n$ codesign --verify --verbose $(which aws-vault)\n-If you are developing or compiling the aws-vault binary your...
Go
MIT License
99designs/aws-vault
Fix infinite recursion issue for missing/invalid profile Fixes #575 #545
1,409
02.05.2020 20:33:51
-36,000
be6e1b6d6f16840f8152cf43e680d0d9f89c84a9
Add docs for shell tricks
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "* [Removing credentials](#removing-credentials)\n* [Rotating credentials](#rotating-credentials)\n* [Managing Sessions](#managing-sessions)\n+ * [Executing a command](#executing-a-command)\n* [Logging into AWS consol...
Go
MIT License
99designs/aws-vault
Add docs for shell tricks
1,409
05.05.2020 21:03:09
-36,000
a217e737ced3a5d1d12496f5db00de556c502f5b
Check the host header to mitigate a DNS rebinding attack
[ { "change_type": "MODIFY", "old_path": "server/ec2.go", "new_path": "server/ec2.go", "diff": "@@ -15,6 +15,7 @@ import (\nconst (\nawsTimeFormat = \"2006-01-02T15:04:05Z\"\n+ ec2MetadataEndpointIP = \"169.254.169.254\"\nec2MetadataEndpointAddr = \"169.254.169.254:80\"\nec2CredentialsServerAddr = \"1...
Go
MIT License
99designs/aws-vault
Check the host header to mitigate a DNS rebinding attack
1,374
11.05.2020 12:40:48
-7,200
54d6f263bafcfd34ade9e7c86ed8a9c216156724
Add --secret-service-collection
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -111,6 +111,11 @@ func ConfigureGlobals(app *kingpin.Application) *AwsVault {\nEnvar(\"AWS_VAULT_KEYCHAIN_NAME\").\nStringVar(&a.KeyringConfig.KeychainName)\n+ app.Flag(\"secret-service-collection\", \"N...
Go
MIT License
99designs/aws-vault
Add --secret-service-collection (#539)
1,326
11.05.2020 11:42:07
-3,600
480dd12bffeac86a94b3f711f197526c20b7a43f
Make session duration format clear in usage docs The format of the session duration wasn't clear, but explained it. Adding it to the docs to make it clear for others.
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -127,6 +127,8 @@ To override session durations (used in `exec` and `login`):\n* `AWS_ASSUME_ROLE_TTL`: Expiration time for the `AssumeRole` credentials. Defaults to 1h\n* `AWS_FEDERATION_TOKEN_TTL`: Expiration tim...
Go
MIT License
99designs/aws-vault
Make session duration format clear in usage docs The format of the session duration wasn't clear, but https://github.com/99designs/aws-vault/issues/544#issuecomment-607581197 explained it. Adding it to the docs to make it clear for others.
1,359
15.05.2020 14:24:33
14,400
6f25cc67732c01826cfc1fa989fcfb60ac04c1a9
No sourceCredProvider is needed when assuming via web identity
[ { "change_type": "MODIFY", "old_path": "vault/vault.go", "new_path": "vault/vault.go", "diff": "@@ -137,8 +137,8 @@ func NewAssumeRoleProvider(creds *credentials.Credentials, k keyring.Keyring, co\n// NewAssumeRoleWithWebIdentityProvider returns a provider that generates\n// credentials using Assume...
Go
MIT License
99designs/aws-vault
No sourceCredProvider is needed when assuming via web identity
1,359
15.05.2020 14:34:02
14,400
4d712c1a7b61a95dedb73c55ae7b7c90bb8d2c9d
Clarify that web_identity_token_process is a non-standard option
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -396,7 +396,7 @@ sso_role_name=Administrator\nAWS supports assuming roles using [web identity federation and OpenID Connect](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html#cli-configure-r...
Go
MIT License
99designs/aws-vault
Clarify that web_identity_token_process is a non-standard option
1,359
15.05.2020 14:46:55
14,400
c1e355ef2129b66921aad8a6ea63aa117a5dbd3b
Use Region, not SSORegion
[ { "change_type": "MODIFY", "old_path": "vault/vault.go", "new_path": "vault/vault.go", "diff": "@@ -138,7 +138,7 @@ func NewAssumeRoleProvider(creds *credentials.Credentials, k keyring.Keyring, co\n// NewAssumeRoleWithWebIdentityProvider returns a provider that generates\n// credentials using Assume...
Go
MIT License
99designs/aws-vault
Use Region, not SSORegion
1,359
18.05.2020 15:26:43
14,400
78eb6646be3b96119337dce80955585c817c7e12
Simplify exec code We do not need to be as defensive as the SDK in this case:
[ { "change_type": "MODIFY", "old_path": "vault/assumerolewithwebidentityprovider.go", "new_path": "vault/assumerolewithwebidentityprovider.go", "diff": "package vault\nimport (\n- \"bytes\"\n\"fmt\"\n- \"io\"\n\"io/ioutil\"\n\"log\"\n\"os\"\n@@ -103,59 +101,15 @@ func (p *AssumeRoleWithWebIdentityPro...
Go
MIT License
99designs/aws-vault
Simplify exec code We do not need to be as defensive as the SDK in this case: https://github.com/99designs/aws-vault/pull/587#discussion_r426119472
1,409
19.05.2020 21:13:35
-36,000
3c14c495894b4ee2f3485d6cb9383974ae3c728b
Refactor configloader instantiation
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -94,7 +94,7 @@ func ConfigureExecCommand(app *kingpin.Application, a *AwsVault) {\ninput.Config.NonChainedGetSessionTokenDuration = input.SessionDuration\ninput.Config.AssumeRoleDuration = input.SessionDurat...
Go
MIT License
99designs/aws-vault
Refactor configloader instantiation
1,327
04.06.2020 10:48:39
14,400
386bb8969829da0c20bee08edb3d39455631e3ca
Use RFC3339 consistently for expiration times Avoid misreporting expiration times for non-UTC time zones.
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -226,7 +226,7 @@ func execCredentialHelper(input ExecCommandInput, config *vault.Config, creds *c\ncredentialData.SessionToken = val.SessionToken\n}\nif credsExpiresAt, err := creds.ExpiresAt(); err == nil {...
Go
MIT License
99designs/aws-vault
Use RFC3339 consistently for expiration times Avoid misreporting expiration times for non-UTC time zones.
1,369
04.07.2020 19:15:42
-7,200
c98834808f4e9d39141e5cc6f37bbf540d984a2a
Add possibility to check for localised error messages, add localised German messages
[ { "change_type": "MODIFY", "old_path": "server/ec2alias_windows.go", "new_path": "server/ec2alias_windows.go", "diff": "@@ -8,16 +8,39 @@ import (\n\"strings\"\n)\n+var alreadyRegisteredLocalised = []string{\n+ \"The object already exists\",\n+ \"Das Objekt ist bereits vorhanden\",\n+}\n+\n+var runA...
Go
MIT License
99designs/aws-vault
Add possibility to check for localised error messages, add localised German messages
1,416
13.07.2020 17:31:27
14,400
109aae257ffd625a6dfeeed35d625f5d9182f3d8
Add a prompt that is native to Windows
[ { "change_type": "ADD", "old_path": null, "new_path": "prompt/native_windows.go", "diff": "+package prompt\n+\n+import (\n+ \"errors\"\n+ \"strings\"\n+ \"syscall\"\n+ \"unsafe\"\n+)\n+\n+var (\n+ credui = syscall.NewLazyDLL(\"credui.dll\")\n+\n+ procCredUIPromptForCredentials = credui.NewProc(\"Cre...
Go
MIT License
99designs/aws-vault
Add a prompt that is native to Windows
1,328
11.08.2020 12:40:11
-7,200
6e04b1de550008a70f6126c2acb5543383c91681
Read Secret Access Key with ReadPassword
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -70,7 +70,7 @@ func AddCommand(input AddCommandInput, keyring keyring.Keyring, awsConfigFile *v\nif accessKeyId, err = prompt.TerminalPrompt(\"Enter Access Key ID: \"); err != nil {\nreturn fmt.Errorf(err.Erro...
Go
MIT License
99designs/aws-vault
Read Secret Access Key with ReadPassword Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
1,409
16.08.2020 13:10:41
-36,000
2cc39589cacfe0ddcb6deccb2daa540013905b62
Remove globals, rename prompt to credui
[ { "change_type": "RENAME", "old_path": "prompt/native_windows.go", "new_path": "prompt/credui_windows.go", "diff": "@@ -7,21 +7,13 @@ import (\n\"unsafe\"\n)\n-var (\n- credui = syscall.NewLazyDLL(\"credui.dll\")\n-\n- procCredUIPromptForCredentials = credui.NewProc(\"CredUIPromptForCredentialsW\")\...
Go
MIT License
99designs/aws-vault
Remove globals, rename prompt to credui
1,409
16.08.2020 22:54:52
-36,000
7262236aa7862bc0a1916fbfadf5588b50628811
Update go-ini dep
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -16,7 +16,7 @@ require (\ngithub.com/smartystreets/goconvey v1.6.4 // indirect\ngolang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37\ngolang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9 // indirect\n- gopkg.in/ini.v...
Go
MIT License
99designs/aws-vault
Update go-ini dep
1,409
16.08.2020 22:58:22
-36,000
159b770a8fed20f37c7b0286cef2ee4951e1c0c2
Use go 1.15 in CI
[ { "change_type": "MODIFY", "old_path": ".github/workflows/go.yml", "new_path": ".github/workflows/go.yml", "diff": "@@ -17,10 +17,10 @@ jobs:\nsteps:\n- - name: Set up Go 1.13\n+ - name: Set up Go 1.15\nuses: actions/setup-go@v1\nwith:\n- go-version: 1.13\n+ go-version: 1.15\nid: go\n- name: Check o...
Go
MIT License
99designs/aws-vault
Use go 1.15 in CI
1,409
17.08.2020 13:01:38
-36,000
a693205dca7e7c806bcb27559123ff37ccd60d37
Move validation to its own function
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -31,14 +31,22 @@ type ExecCommandInput struct {\nNoSession bool\n}\n-// AwsCredentialHelperData is metadata for AWS CLI credential process\n-// See https://docs.aws.amazon.com/cli/latest/topic/config-vars.ht...
Go
MIT License
99designs/aws-vault
Move validation to its own function