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,420
12.10.2017 22:27:16
-39,600
c85169517e63cff529135607cde4df1201f05c9e
Implement full list command
[ { "change_type": "MODIFY", "old_path": "cli/ls.go", "new_path": "cli/ls.go", "diff": "@@ -2,13 +2,20 @@ package cli\nimport (\n\"fmt\"\n+ \"os\"\n+ \"strings\"\n+ \"text/tabwriter\"\n+ \"github.com/99designs/aws-vault/vault\"\n\"github.com/99designs/keyring\"\n\"gopkg.in/alecthomas/kingpin.v2\"\n)\n...
Go
MIT License
99designs/aws-vault
Implement full list command
1,420
13.10.2017 09:36:42
-39,600
698e2741db928a60857a09781804be022593bca3
Read the region from the config for sts calls
[ { "change_type": "MODIFY", "old_path": "vault/provider.go", "new_path": "vault/provider.go", "diff": "@@ -5,6 +5,7 @@ import (\n\"errors\"\n\"fmt\"\n\"log\"\n+ \"os\"\n\"time\"\n\"github.com/99designs/aws-vault/prompt\"\n@@ -193,6 +194,27 @@ func (p *VaultProvider) RetrieveWithoutSessionToken() (cre...
Go
MIT License
99designs/aws-vault
Read the region from the config for sts calls
1,380
17.10.2017 19:32:34
-39,600
01b17b6e0defe07389f3f971cacf39d345a18ce8
add note about mfa_serial / assuming roles
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -102,6 +102,8 @@ role_arn = arn:aws:iam::123456789012:role/admin-access\nThen when you use the `admin` profile, `aws-vault` will look in the `read-only` profile's keychain for credentials and then use those cred...
Go
MIT License
99designs/aws-vault
add note about mfa_serial / assuming roles (#164)
1,420
20.10.2017 10:29:34
-39,600
5974fa2e1d819de57b5d38772d8f76d83dd30222
Sessions only relate to a profile, not the source
[ { "change_type": "MODIFY", "old_path": "cli/ls.go", "new_path": "cli/ls.go", "diff": "@@ -102,7 +102,7 @@ func LsCommand(app *kingpin.Application, input LsCommandInput) {\nfmt.Fprintf(w, \"-\\t\")\n}\n- sessions, err := krs.Sessions(source.Name)\n+ sessions, err := krs.Sessions(profile.Name)\nif err...
Go
MIT License
99designs/aws-vault
Sessions only relate to a profile, not the source
1,420
23.10.2017 08:18:26
-39,600
f264842bb9125640430e9d477bc76b768b19aa6f
Add entry to aws config file in add command
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -2,6 +2,7 @@ package cli\nimport (\n\"fmt\"\n+ \"log\"\n\"os\"\n\"github.com/99designs/aws-vault/prompt\"\n@@ -15,6 +16,7 @@ type AddCommandInput struct {\nProfile string\nKeyring keyring.Keyring\nFromEnv bool...
Go
MIT License
99designs/aws-vault
Add entry to aws config file in add command
1,420
23.10.2017 17:42:07
-39,600
fd18586c3719bd982f72f941cfac1d973bf16a50
IAM takes a while to propagate new keys
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -38,7 +38,7 @@ func ConfigureAddCommand(app *kingpin.Application) {\nfunc AddCommand(app *kingpin.Application, input AddCommandInput) {\nvar accessKeyId, secretKey string\n- if source, ok := awsConfig.SourcePr...
Go
MIT License
99designs/aws-vault
IAM takes a while to propagate new keys
1,420
24.10.2017 08:21:12
-39,600
62003f275bbb631f05b88dfb1c8f44093d7b886d
Use temp config for add test
[ { "change_type": "MODIFY", "old_path": "cli/add_test.go", "new_path": "cli/add_test.go", "diff": "package cli\nimport (\n+ \"io/ioutil\"\n+ \"log\"\n\"os\"\nkingpin \"gopkg.in/alecthomas/kingpin.v2\"\n)\nfunc ExampleAddCommand() {\n+ f, err := ioutil.TempFile(\"\", \"aws-config\")\n+ if err != nil {...
Go
MIT License
99designs/aws-vault
Use temp config for add test
1,420
24.10.2017 09:01:13
-39,600
c6b0630672f7519c8d611f2a005b98196d82ac2e
Move rotator to vault package
[ { "change_type": "MODIFY", "old_path": "cli/login.go", "new_path": "cli/login.go", "diff": "@@ -7,8 +7,6 @@ import (\n\"log\"\n\"net/http\"\n\"net/url\"\n- \"regexp\"\n- \"strings\"\n\"time\"\n\"github.com/99designs/aws-vault/prompt\"\n@@ -17,7 +15,6 @@ import (\n\"github.com/aws/aws-sdk-go/aws\"\n\...
Go
MIT License
99designs/aws-vault
Move rotator to vault package
1,420
09.11.2017 07:27:18
-39,600
2fc5623fe5c262bf6c61c5da19b65788eda1c483
Add docs for rotate and clearer errors
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -106,6 +106,31 @@ Then when you use the `admin` profile, `aws-vault` will look in the `read-only`\n**Note:** When assuming roles, `mfa_serial` will not be inherited from the profile designated in `source_profile...
Go
MIT License
99designs/aws-vault
Add docs for rotate and clearer errors
1,395
09.11.2017 16:32:28
28,800
e2276280d2c32a0418a5694ea152367de30930f7
Adds documentation for removing sessions Closes
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -131,6 +131,14 @@ The minimal IAM policy required to rotate your own credentials is:\n}\n```\n+## Removing stored sessions\n+\n+If you want to remove sessions managed by `aws-vault` before they expire, you can d...
Go
MIT License
99designs/aws-vault
Adds documentation for removing sessions Closes #125
1,411
13.11.2017 20:47:12
-39,600
dc6af176bd1f272f2bdf2a69507ee1e6e4c96439
spoof an instance ID so we can pass the go aws-sdk Available() call
[ { "change_type": "MODIFY", "old_path": "server/server.go", "new_path": "server/server.go", "diff": "@@ -29,6 +29,8 @@ func StartMetadataServer() error {\nrouter := http.NewServeMux()\nrouter.HandleFunc(\"/latest/meta-data/iam/security-credentials/\", indexHandler)\nrouter.HandleFunc(\"/latest/meta-d...
Go
MIT License
99designs/aws-vault
spoof an instance ID so we can pass the go aws-sdk Available() call
1,358
30.10.2017 21:24:23
-46,800
330ab47bc16c1ed0cb8db123dda715a0004e6960
create network alias for windows
[ { "change_type": "MODIFY", "old_path": "server/alias_windows.go", "new_path": "server/alias_windows.go", "diff": "package server\n-import \"fmt\"\n+import (\n+ \"fmt\"\n+ \"os/exec\"\n+ \"strings\"\n+)\nfunc installNetworkAlias() ([]byte, error) {\n- return make([]byte, 0), fmt.Errorf(\"Server mode ...
Go
MIT License
99designs/aws-vault
create network alias for windows
1,358
19.11.2017 20:50:36
-46,800
6fa916418643f7c3f3dbbc2d1ece40af0995ede3
support for windows to start the server component in the background the server will fail to launch unless in an administrative shell but the error is descriptive
[ { "change_type": "MODIFY", "old_path": "server/server.go", "new_path": "server/server.go", "diff": "@@ -9,6 +9,7 @@ import (\n\"net/http\"\n\"os\"\n\"os/exec\"\n+ \"runtime\"\n\"time\"\n\"github.com/99designs/aws-vault/vault\"\n@@ -76,6 +77,16 @@ func checkServerRunning(bind string) bool {\nfunc Sta...
Go
MIT License
99designs/aws-vault
support for windows to start the server component in the background the server will fail to launch unless in an administrative shell but the error is descriptive
1,358
21.11.2017 11:55:22
-46,800
264b3b9077fb37ff93bff37499c19f8f436eec64
extract StartCredentialProxy to its own function
[ { "change_type": "MODIFY", "old_path": "server/server.go", "new_path": "server/server.go", "diff": "@@ -76,9 +76,7 @@ func checkServerRunning(bind string) bool {\nreturn err == nil\n}\n-func StartCredentialsServer(creds *vault.VaultCredentials) error {\n- if !checkServerRunning(metadataBind) {\n- if...
Go
MIT License
99designs/aws-vault
extract StartCredentialProxy to its own function
1,420
26.11.2017 14:54:59
-39,600
79ee4a7df213bd500af8f5cb27785cec23598330
Use new keyring configuration
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -19,7 +19,6 @@ var (\nkeyringImpl keyring.Keyring\nawsConfig *vault.Config\npromptsAvailable = prompt.Available()\n- backendsAvailable = keyring.SupportedBackends()\n)\nvar GlobalFlags struct {\n@@ -29,1...
Go
MIT License
99designs/aws-vault
Use new keyring configuration
1,420
26.11.2017 15:02:06
-39,600
e002ee36ff538ce7de37e54589e541a187c39cc1
Bump go-keychain version
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/keybase/go-keychain/macos.go", "new_path": "vendor/github.com/keybase/go-keychain/macos.go", "diff": "@@ -35,12 +35,15 @@ var (\n// createAccess creates a SecAccessRef as CFTypeRef.\n// The returned SecAccessRef, if non-nil, must be released ...
Go
MIT License
99designs/aws-vault
Bump go-keychain version
1,420
27.11.2017 10:02:44
-39,600
c081ac7ffb05dd8112ac0b303153c42f9703d91e
Set missing vars into keyring config
[ { "change_type": "MODIFY", "old_path": "cli/add_test.go", "new_path": "cli/add_test.go", "diff": "@@ -29,7 +29,7 @@ func ExampleAddCommand() {\napp := kingpin.New(`aws-vault`, ``)\nConfigureGlobals(app)\nConfigureAddCommand(app)\n- kingpin.MustParse(app.Parse([]string{\"add\", \"--env\", \"foo\"}))\...
Go
MIT License
99designs/aws-vault
Set missing vars into keyring config
1,420
27.11.2017 10:03:14
-39,600
895deb6784bac0c0b0ade96c1350951091bf0b2b
Update keyring to get file dir from config
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/99designs/keyring/file.go", "new_path": "vendor/github.com/99designs/keyring/file.go", "diff": "@@ -16,6 +16,7 @@ import (\nfunc init() {\nsupportedBackends[FileBackend] = opener(func(cfg Config) (Keyring, error) {\nreturn &fileKeyring{\n+ di...
Go
MIT License
99designs/aws-vault
Update keyring to get file dir from config
1,420
27.11.2017 10:06:36
-39,600
205565676fe272b7ce4eb08baf4758841d81172e
Add a dockerfile for linux testing
[ { "change_type": "ADD", "old_path": null, "new_path": ".dockerignore", "diff": "+aws-vault\n+aws-vault-*\n+.DS_Store\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "Dockerfile", "diff": "+FROM golang:1.9.2 AS build-env\n+\n+ENV CGO_ENABL...
Go
MIT License
99designs/aws-vault
Add a dockerfile for linux testing
1,420
27.11.2017 10:13:29
-39,600
8958f771679ed5a4fea7f0c2d0cacb711883bb78
Add docs abotu how to use a self-signed binary
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -147,6 +147,19 @@ Developed with golang, to install run:\ngo get github.com/99designs/aws-vault\n```\n+### Self-signing your binary\n+\n+Binaries that call Keychain need to be signed, otherwise they always show ...
Go
MIT License
99designs/aws-vault
Add docs abotu how to use a self-signed binary
1,420
04.12.2017 08:10:58
-39,600
9e8872d19b3305b8d7e87ce86a0711683937c7e0
Use nil slice vs empty slice
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -54,7 +54,7 @@ func ConfigureGlobals(app *kingpin.Application) {\nkeyring.Debug = true\n}\nif keyringImpl == nil {\n- allowedBackends := []keyring.BackendType{}\n+ var allowedBackends []keyring.BackendTy...
Go
MIT License
99designs/aws-vault
Use nil slice vs empty slice
1,420
04.12.2017 08:19:09
-39,600
74e4cd8ee9597357a48a7cecbeb61f5e328254d2
Update to latest keyring / go-keychain
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/99designs/keyring/README.md", "new_path": "vendor/github.com/99designs/keyring/README.md", "diff": "@@ -18,7 +18,9 @@ Currently Keyring supports the following backends\nThe short version of how to use keyring is shown below.\n```go\n-ring, _ ...
Go
MIT License
99designs/aws-vault
Update to latest keyring / go-keychain
1,420
16.12.2017 16:56:44
-39,600
d307b22a9811391dd1c25365566e98ae6d0d68dd
Move govendor status check to travis file
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "language: go\n-install: ./scripts/ci_install.sh\n+install:\n+ - go get -u github.com/kardianos/govendor\n+ - govendor status\ngo:\n- 1.8\n" }, { "change_type": "DELETE", "old_path": "scripts/ci_inst...
Go
MIT License
99designs/aws-vault
Move govendor status check to travis file
1,420
06.12.2017 13:49:07
-39,600
fe6df7a308b371df5960c555fa6c8c2fd3095ce1
Store the expiry time in the session id's
[ { "change_type": "MODIFY", "old_path": "cli/ls.go", "new_path": "cli/ls.go", "diff": "@@ -87,6 +87,12 @@ func LsCommand(app *kingpin.Application, input LsCommandInput) {\nreturn\n}\n+ sessions, err := krs.Sessions()\n+ if err != nil {\n+ app.Fatalf(err.Error())\n+ return\n+ }\n+\nw := tabwriter.NewW...
Go
MIT License
99designs/aws-vault
Store the expiry time in the session id's
1,420
17.12.2017 21:11:44
-39,600
4bad7d4671283d691b45636005159f1963032623
Fix regression where source profile was used for sessions
[ { "change_type": "MODIFY", "old_path": "vault/provider.go", "new_path": "vault/provider.go", "diff": "@@ -96,13 +96,11 @@ func (p *VaultProvider) Retrieve() (credentials.Value, error) {\nreturn p.RetrieveWithoutSessionToken()\n}\n- // sessions get stored by source profile\n- source, _ := p.config.So...
Go
MIT License
99designs/aws-vault
Fix regression where source profile was used for sessions
1,420
16.12.2017 21:35:40
-39,600
1e43f187163ee4bd296c3f8f4c998ea410038dc5
Add a check that the remote address is localhost See for more details.
[ { "change_type": "MODIFY", "old_path": "server/server.go", "new_path": "server/server.go", "diff": "@@ -122,6 +122,20 @@ func StartCredentialsServer(creds *vault.VaultCredentials) error {\nlog.Printf(\"Local instance role server running on %s\", l.Addr())\ngo http.Serve(l, http.HandlerFunc(func(w ht...
Go
MIT License
99designs/aws-vault
Add a check that the remote address is localhost See #198 for more details.
1,420
19.12.2017 10:00:56
-39,600
bed5259ce2c5ca1cb5c60415fe2408df3f91ad4b
Use Ip.IsLoopback()
[ { "change_type": "MODIFY", "old_path": "server/server.go", "new_path": "server/server.go", "diff": "@@ -128,9 +128,10 @@ func StartCredentialsServer(creds *vault.VaultCredentials) error {\nreturn\n}\n- // Must make sure the remote ip is localhost, otherwise clients on the same network segment could\...
Go
MIT License
99designs/aws-vault
Use Ip.IsLoopback()
1,420
23.12.2017 08:40:48
-39,600
c2c7bfd0dba2987bc0595e7343dd64a3053c1045
Make server command hidden
[ { "change_type": "MODIFY", "old_path": "cli/server.go", "new_path": "cli/server.go", "diff": "@@ -11,7 +11,9 @@ type ServerCommandInput struct {\nfunc ConfigureServerCommand(app *kingpin.Application) {\ninput := ServerCommandInput{}\n- cmd := app.Command(\"server\", \"Run an ec2 instance role server...
Go
MIT License
99designs/aws-vault
Make server command hidden
1,420
29.12.2017 09:20:13
-39,600
9bc62f5d93fdf3cc8d3f4cc955cc409de5f8cf2b
Failure to delete sessions should be non-fatal
[ { "change_type": "MODIFY", "old_path": "vault/sessions.go", "new_path": "vault/sessions.go", "diff": "@@ -73,9 +73,9 @@ func (s *KeyringSessions) Sessions() ([]KeyringSession, error) {\nif IsSessionKey(k) {\nks, _ := parseKeyringSession(k, s.Config)\nif ks.IsExpired() {\n- log.Printf(\"Session %s is...
Go
MIT License
99designs/aws-vault
Failure to delete sessions should be non-fatal
1,420
29.12.2017 14:44:41
-39,600
af1007c68cd3f768abd8aae304b1729720f1c338
Propagate errors from keyring.Open
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -64,7 +64,6 @@ func ConfigureGlobals(app *kingpin.Application) {\nif GlobalFlags.Backend != \"\" {\nallowedBackends = append(allowedBackends, keyring.BackendType(GlobalFlags.Backend))\n}\n-\nkeyringImpl,...
Go
MIT License
99designs/aws-vault
Propagate errors from keyring.Open
1,420
29.12.2017 14:45:06
-39,600
edcc4232d45d62ff35e08abc06aa44f01331024e
Add a development docker-compose file for testing linux
[ { "change_type": "ADD", "old_path": null, "new_path": "docker-compose.dev.yml", "diff": "+version: '2.1'\n+\n+services:\n+ aws-vault:\n+ image: golang:1.9.2\n+ environment:\n+ - CGO_ENABLED=0\n+ volumes:\n+ - .:/go/src/github.com/99designs/aws-vault\n+ - /root/.aws\n+ - /root/.awsvault\n+ working_di...
Go
MIT License
99designs/aws-vault
Add a development docker-compose file for testing linux
1,420
02.01.2018 09:17:14
-39,600
21aa173c1d98610501c37cd1d1f28f1fdaee2d48
Bump keyring vendor
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/99designs/keyring/kwallet.go", "new_path": "vendor/github.com/99designs/keyring/kwallet.go", "diff": "@@ -14,6 +14,12 @@ const (\n)\nfunc init() {\n+ // silently fail if dbus isn't available\n+ _, err := dbus.SessionBus()\n+ if err != nil {\n...
Go
MIT License
99designs/aws-vault
Bump keyring vendor
1,367
11.02.2018 09:53:54
-3,600
f4ebae05210c71df3bb4596cd99248b00b673772
doc(no-session): Explain what --no-session is and when to use it
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -48,3 +48,46 @@ The exec helps reduce the number of processes that are hanging around. The `$@`\nYou can choose different secret storage backends, which may be particularly useful on Linux, where you may prefer to...
Go
MIT License
99designs/aws-vault
doc(no-session): Explain what --no-session is and when to use it
1,388
18.02.2018 17:14:52
18,000
68a2dd3806e04c758608c35b2a605cf73c653683
Refactor to create config file if one does not exist already.
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -38,6 +38,29 @@ func ConfigPath() (string, error) {\nreturn file, nil\n}\n+// CreateConfig will create the config directory and file if they do not exist\n+func CreateConfig() (error) {\n+ file, err ...
Go
MIT License
99designs/aws-vault
Refactor to create config file if one does not exist already.
1,399
21.02.2018 11:11:30
-3,600
68f05a98b7bbb965af8e775412b0fe2b92d7fba0
Make secret-service use collection 'awsvault' This fixes a regression from v4.1.0 to v4.2.0, where collection was renamed to 'aws-vault' This is caused by that github.com/99designs/keyring previously used the collection name 'awsvault' by default. This was changed in commit 'Add backend specific config'.
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -70,6 +70,7 @@ func ConfigureGlobals(app *kingpin.Application) {\nKeychainName: GlobalFlags.KeychainName,\nFileDir: \"~/.awsvault/keys/\",\nFilePasswordFunc: fileKeyringPassphrasePrompt,\n+ LibSecretColl...
Go
MIT License
99designs/aws-vault
Make secret-service use collection 'awsvault' This fixes a regression from v4.1.0 to v4.2.0, where collection was renamed to 'aws-vault' This is caused by that github.com/99designs/keyring previously used the collection name 'awsvault' by default. This was changed in commit 5a0d04e 'Add backend specific config'.
1,388
21.02.2018 16:39:21
18,000
373bb6b29d2cc80344bfb8f7535a5fbcc7707b58
Refactor to fix permissions
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -46,7 +46,7 @@ func CreateConfig() (error) {\n}\ndir := filepath.Dir(file)\nif _, err := os.Stat(dir); os.IsNotExist(err) {\n- os.Mkdir(dir, 0755)\n+ os.Mkdir(dir, 0700)\nlog.Printf(\"Config director...
Go
MIT License
99designs/aws-vault
Refactor to fix permissions
1,414
26.02.2018 14:14:57
-39,600
c3991dc0e91ea15ee7088bbcaafd1e32c671b8b0
Add a HintAction to `exec` to let KingPin autocomplete profile names.
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -59,6 +59,7 @@ func ConfigureExecCommand(app *kingpin.Application) {\ncmd.Arg(\"profile\", \"Name of the profile\").\nRequired().\n+ HintAction(ProfileNames).\nStringVar(&input.Profile)\ncmd.Arg(\"cmd\", \"C...
Go
MIT License
99designs/aws-vault
Add a HintAction to `exec` to let KingPin autocomplete profile names.
1,330
02.04.2018 16:50:42
25,200
f48767a186bf2fe0752428c08b7891dbda1c43d9
Increase MaxAssumeRoleDuration to 12 hours
[ { "change_type": "MODIFY", "old_path": "vault/provider.go", "new_path": "vault/provider.go", "diff": "@@ -20,7 +20,7 @@ const (\nMaxSessionDuration = time.Hour * 36\nMinSessionDuration = time.Minute * 15\nMinAssumeRoleDuration = time.Minute * 15\n- MaxAssumeRoleDuration = time.Hour\n+ MaxAssumeRoleD...
Go
MIT License
99designs/aws-vault
Increase MaxAssumeRoleDuration to 12 hours
1,324
04.05.2018 10:43:28
14,400
d4e2b6288e30f47af88cedb73fb13bcc5fff6440
Add additional USAGE information
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "# Help\n-aws-vault --help\n+Context-sensitive help is available for every command in `aws-vault`.\n+```bash\n+# Show general help about aws-vault\n+$ aws-vault --help\n+\n+# Show longer help about all options in aws-...
Go
MIT License
99designs/aws-vault
Add additional USAGE information
1,409
07.05.2018 14:19:16
-36,000
e18d4e663a11b24af69d7b80903e464144f4d8eb
Formatting fixes for USAGE.md
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "-\n# Help\nContext-sensitive help is available for every command in `aws-vault`.\n@@ -14,10 +13,12 @@ $ aws-vault --help-long\n$ aws-vault exec --help\n```\n+\n## Using aws-vault with multiple profiles\n-In addition ...
Go
MIT License
99designs/aws-vault
Formatting fixes for USAGE.md
1,345
05.06.2018 13:01:04
-3,600
60636d8945274f9682a6203c30a1aa5b9c47a684
Read external_id into Profile and pass to assume role requests
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -110,6 +110,7 @@ type Profile struct {\nName string `ini:\"-\"`\nMFASerial string `ini:\"mfa_serial,omitempty\"`\nRoleARN string `ini:\"role_arn,omitempty\"`\n+ ExternalID string `ini:\"external_id,o...
Go
MIT License
99designs/aws-vault
Read external_id into Profile and pass to assume role requests
1,352
13.06.2018 14:26:42
25,200
dd7f5c28869fc588b54d256d45144c3240bd3ed2
Always use a session to rotate AWS keys
[ { "change_type": "MODIFY", "old_path": "vault/rotator.go", "new_path": "vault/rotator.go", "diff": "@@ -61,7 +61,7 @@ func (r *Rotator) Rotate(profile string) error {\nMfaToken: r.MfaToken,\nMfaPrompt: r.MfaPrompt,\nConfig: r.Config,\n- NoSession: true,\n+ NoSession: false,\nMasterCreds: &oldMasterC...
Go
MIT License
99designs/aws-vault
Always use a session to rotate AWS keys
1,341
01.08.2018 10:56:56
25,200
33ebdf9a0c8e6ad6a018e517b62dca7a472a4b03
Update go-keychain to fix build on Go 1.11 Previously this would fail with a compilation error. For more information see:
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/keybase/go-keychain/corefoundation_1.10.go", "new_path": "vendor/github.com/keybase/go-keychain/corefoundation_1.10.go", "diff": "@@ -52,7 +52,7 @@ func BytesToCFData(b []byte) (C.CFDataRef, error) {\nif len(b) > 0 {\np = (*C.UInt8)(&b[0])\n}...
Go
MIT License
99designs/aws-vault
Update go-keychain to fix build on Go 1.11 Previously this would fail with a compilation error. For more information see: https://github.com/golang/go/commit/94076feef https://github.com/golang/go/issues/26721 https://github.com/keybase/go-keychain/pull/30
1,341
01.08.2018 10:58:11
25,200
a37810c5006fb10c5571b53ee32f9966c9313716
Add tip to Travis CI build matrix Run tests on the latest point release for Go 1.8, 1.9, and 1.10, so 1.10.3 instead of 1.10 for example. Also run tests on the master branch.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "language: go\n+go_import_path: github.com/99designs/aws-vault\ninstall:\n- go get -u github.com/kardianos/govendor\n- govendor status\ngo:\n- - \"1.8\"\n- - \"1.9\"\n- - \"1.10\"\n+ - \"1.8.x\"\n+ - \"1.9.x\"\n...
Go
MIT License
99designs/aws-vault
Add tip to Travis CI build matrix Run tests on the latest point release for Go 1.8, 1.9, and 1.10, so 1.10.3 instead of 1.10 for example. Also run tests on the master branch.
1,346
02.09.2018 10:47:18
-36,000
ef03b3cf476ba103d4d71babeca6b5f0f37ed9f4
Add handler for iam/info
[ { "change_type": "MODIFY", "old_path": "server/server.go", "new_path": "server/server.go", "diff": "@@ -29,6 +29,8 @@ func StartMetadataServer() error {\n}\nrouter := http.NewServeMux()\n+ // The AWS .NET SDK checks this endpoint during obtaining credentials/refreshing them\n+ router.HandleFunc(\"/l...
Go
MIT License
99designs/aws-vault
Add handler for iam/info
1,409
03.09.2018 09:18:36
-36,000
3e646abb6b8a853cd5779e6d1dcc60a61ef37a8d
Rename function to indicate it's a stub
[ { "change_type": "MODIFY", "old_path": "server/server.go", "new_path": "server/server.go", "diff": "@@ -29,12 +29,12 @@ func StartMetadataServer() error {\n}\nrouter := http.NewServeMux()\n- // The AWS .NET SDK checks this endpoint during obtaining credentials/refreshing them\n- router.HandleFunc(\"...
Go
MIT License
99designs/aws-vault
Rename function to indicate it's a stub
1,391
04.10.2018 10:01:25
18,000
ba6a679c2c4ea0c847168adee326d0ca845875dd
add zenity prompt driver
[ { "change_type": "ADD", "old_path": null, "new_path": "prompt/zenity.go", "diff": "+// +build linux\n+\n+package prompt\n+\n+import (\n+ \"fmt\"\n+ \"os/exec\"\n+ \"strings\"\n+)\n+\n+func ZenityPrompt(prompt string) (string, error) {\n+ cmd := exec.Command(\"/usr/bin/zenity\", \"--entry\", \"--titl...
Go
MIT License
99designs/aws-vault
add zenity prompt driver
1,409
05.10.2018 11:15:56
-36,000
89c298e5889d19978f3f2a7a1460996fbb50cf4f
Always build all prompt options
[ { "change_type": "MODIFY", "old_path": "prompt/osascript.go", "new_path": "prompt/osascript.go", "diff": "-// +build darwin\n-\npackage prompt\nimport (\n@@ -9,7 +7,7 @@ import (\n)\nfunc OSAScriptPrompt(prompt string) (string, error) {\n- cmd := exec.Command(\"/usr/bin/osascript\", \"-e\", fmt.Spri...
Go
MIT License
99designs/aws-vault
Always build all prompt options
1,334
26.11.2018 12:40:54
18,000
d7bb8b9dd5da2b0975a807df25af60bf5b7094c7
Strip path from usernames found in error message. When extracting the username from the error message, strip the path.
[ { "change_type": "MODIFY", "old_path": "vault/rotator.go", "new_path": "vault/rotator.go", "diff": "@@ -175,7 +175,8 @@ func GetUsernameFromSession(sess *session.Session) (string, error) {\n// on the master credentials, but have permission to use assumeRole later\nmatches := getUserErrorRegexp.FindS...
Go
MIT License
99designs/aws-vault
Strip path from usernames found in error message. When extracting the username from the error message, strip the path.
1,339
09.12.2018 23:46:54
18,000
e69f23aaa7c8fcfb41ffd042547222723a79028f
Add keyring pass backend options
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -4,6 +4,7 @@ Securely store and access credentials for AWS. AWS Vault stores IAM credentials\nCurrently the supported backends are:\n+* Pass - the standard unix password manager\n* macOS Keychain\n* KWallet\n* f...
Go
MIT License
99designs/aws-vault
Add keyring pass backend options Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
1,339
03.01.2019 17:16:55
18,000
0b4f1c19e73c1c5912a4eb2915cc6166e4d0d880
Update govendor code
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/99designs/keyring/README.md", "new_path": "vendor/github.com/99designs/keyring/README.md", "diff": "-Keyring [![Build Status](https://travis-ci.org/99designs/keyring.svg?branch=master)](https://travis-ci.org/99designs/keyring)\n+Keyring\n====...
Go
MIT License
99designs/aws-vault
Update govendor code Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
1,348
05.01.2019 09:41:29
18,000
92773a84896116ec9e8b8f8eb012beb715306d52
Address to allowing configurable trust behavior
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -91,6 +91,7 @@ func ConfigureGlobals(app *kingpin.Application) {\nLibSecretCollectionName: \"awsvault\",\nKWalletAppID: \"aws-vault\",\nKWalletFolder: \"aws-vault\",\n+ KeychainTrustApplication: true,\n}...
Go
MIT License
99designs/aws-vault
Address #219 to allowing configurable trust behavior Signed-off-by: Steve Coffman <steve.coffman@ithaka.org>
1,339
10.01.2019 06:19:47
18,000
56846010ce369a104baff51e7c6f1e7820b57543
Update govendor - Ensure passcmd is on the callers PATH
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/99designs/keyring/pass.go", "new_path": "vendor/github.com/99designs/keyring/pass.go", "diff": "@@ -2,6 +2,7 @@ package keyring\nimport (\n\"encoding/json\"\n+ \"errors\"\n\"fmt\"\n\"io/ioutil\"\n\"os\"\n@@ -23,6 +24,13 @@ func init() {\nif c...
Go
MIT License
99designs/aws-vault
Update govendor - Ensure passcmd is on the callers PATH Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
1,409
22.01.2019 13:55:47
-39,600
4563ac014cdae573e61c24e8b82f1e6e0b1209c2
Combine identical darwin freebsd server function
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "/aws-vault\n/aws-vault-*\n-.DS_Store\n-*~\n" }, { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -24,13 +24,10 @@ aws-vault-darwin-amd64: $(SRC)\naws-vaul...
Go
MIT License
99designs/aws-vault
Combine identical darwin freebsd server function
1,409
31.01.2019 11:22:58
-39,600
305bcd142e1d76a9cffcd3bc7ebf14c265e6c871
Group tips on profile management in USAGE.md
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -13,34 +13,9 @@ $ aws-vault --help-long\n$ aws-vault exec --help\n```\n+## Managing Profiles\n-## Rotating Credentials\n-\n-Regularly rotating your access keys is a critical part of credential management. You can ...
Go
MIT License
99designs/aws-vault
Group tips on profile management in USAGE.md
1,386
27.02.2019 07:20:40
28,800
4830976ebdbe55728c2f37b8ffef87174d706887
Missing a backtick
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -117,7 +117,7 @@ For the `aws-vault` command:\nFor the `aws-vault exec` subcommand:\n-* `AWS_ASSUME_ROLE_TTL`: Expiration time for aws assumed role (see the flag `--assume-role-ttl)\n+* `AWS_ASSUME_ROLE_TTL`: Expi...
Go
MIT License
99designs/aws-vault
Missing a backtick
1,409
07.03.2019 22:11:18
-39,600
b007f6da05b4836bf2527e41df0055c19a281360
Update and tidy deps
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,20 +3,31 @@ module github.com/99designs/aws-vault\ngo 1.12\nrequire (\n- github.com/99designs/keyring v0.0.0-20190110113006-e5b70c3b37f3\n- github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc\n- githu...
Go
MIT License
99designs/aws-vault
Update and tidy deps
1,367
19.03.2019 19:51:56
-3,600
85bb2d762a853caf6ae1c8ed7d84a1860375b3f0
improve documentation on --no-session
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "+# TOC\n+\n+* [Help](#help)\n+* [Managing profiles](#managing-profiles)\n+ * [Using multiple profiles](#using-multiple-profiles)\n+ * [Example ~/.aws/config](#example-~/.aws/config)\n+ * [Listing profiles](#listing-p...
Go
MIT License
99designs/aws-vault
improve documentation on --no-session
1,368
10.06.2019 17:58:40
25,200
0f3b73d76ed98b039464446266e40aab4bc4e310
Truncate username for GetFederationToken
[ { "change_type": "MODIFY", "old_path": "cli/login.go", "new_path": "cli/login.go", "diff": "@@ -219,6 +219,11 @@ func getFederationToken(creds credentials.Value, d time.Duration, region string)\nreturn nil, err\n}\n+ // truncate the username if it's longer than 32 characters or else GetFederationTok...
Go
MIT License
99designs/aws-vault
Truncate username for GetFederationToken (#377)
1,423
23.06.2019 18:33:24
18,000
4a34d94a86b7f2d5fc2374b0f4e3db52739f7f0b
Fix login flag behavior to match that of identical flags on exec
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -140,6 +140,7 @@ For the `aws-vault exec` subcommand:\nFor the `aws-vault login` subcommand:\n+* `AWS_ASSUME_ROLE_TTL`: Expiration time for aws assumed role console session when not using --no-session (see the fla...
Go
MIT License
99designs/aws-vault
Fix login flag behavior to match that of identical flags on exec (#385)
1,354
28.06.2019 08:35:07
21,600
f2c0e03bb332d4564d8243434a4ed3528373e3af
Added MFA Override option This addition allows you to override MFA from the exec command. This would be useful for times when you want change between MFA serials without modifying your `.aws/config` file. It would also help with being able to set a forced override of MFA serial with an environment variable.
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -27,6 +27,7 @@ type ExecCommandInput struct {\nRoleDuration time.Duration\nMfaToken string\nMfaPrompt prompt.PromptFunc\n+ MfaSerial string\nStartServer bool\nCredentialHelper bool\nSignals chan os.Signal\n@...
Go
MIT License
99designs/aws-vault
Added MFA Override option This addition allows you to override MFA from the exec command. This would be useful for times when you want change between MFA serials without modifying your `.aws/config` file. It would also help with being able to set a forced override of MFA serial with an environment variable.
1,409
10.07.2019 14:56:10
-36,000
4f80e69809f892bcdb36d2486c5025ee12d8bd3f
Use a prefix for wincred as this is now configurable as of
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -92,6 +92,7 @@ func ConfigureGlobals(app *kingpin.Application) {\nKWalletAppID: \"aws-vault\",\nKWalletFolder: \"aws-vault\",\nKeychainTrustApplication: true,\n+ WinCredPrefix: \"aws-vault\",\n})\nif err...
Go
MIT License
99designs/aws-vault
Use a prefix for wincred as this is now configurable as of https://github.com/99designs/keyring/pull/41
1,409
10.07.2019 15:53:36
-36,000
e8e966b7674352ba0f187b92d7a95cb66be0bab0
Add hint to release on homebrew-cask
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -4,31 +4,25 @@ FLAGS=-X main.Version=$(VERSION) -s -w\nCERT=\"Developer ID Application: 99designs Inc (NRM9HVJ62Z)\"\nSRC=$(shell find . -name '*.go')\n-.PHONY: build install sign release clean\n+.PHONY: all clean...
Go
MIT License
99designs/aws-vault
Add hint to release on homebrew-cask
1,354
15.07.2019 10:44:26
21,600
619e0f25623184b253c8fbe1d7b613955a3cb511
Added documentation around MFA Serial override
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -130,6 +130,17 @@ source_profile = intermediary\nrole_arn = arn:aws:iam::123456789012:role/target\n```\n+If desired, you can override (or set) your `mfa_serial` with an environment variable `AWS_MFA_SERIAL` or b...
Go
MIT License
99designs/aws-vault
Added documentation around MFA Serial override
1,354
15.07.2019 10:47:06
21,600
ad25cc54f1571b23770fe642a1173324cf93e996
Added profile name for clarity
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -134,11 +134,11 @@ If desired, you can override (or set) your `mfa_serial` with an environment vari\n```shell\n# Override MFA Serial with flag\n-$ aws-vault exec --mfa-serial-override arn:aws:iam::123456789012:m...
Go
MIT License
99designs/aws-vault
Added profile name for clarity
1,409
17.07.2019 10:26:54
-36,000
554b83e714fd04e2129baffeb850c26dc871668d
Move MFA docs to USAGE.md
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -94,53 +94,6 @@ mfa_serial = arn:aws:iam::123456789012:mfa/jonsmith\nThen when you use the `admin` profile, `aws-vault` will look in the `read-only` profile's keychain for credentials and then use those credenti...
Go
MIT License
99designs/aws-vault
Move MFA docs to USAGE.md
1,340
25.07.2019 09:03:18
-7,200
febe7f57645f15fbdffedd7a37bd44c8fcbf0a26
Added documentation of pass env vars
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -132,6 +132,9 @@ For the `aws-vault` command:\n* `AWS_VAULT_BACKEND`: Secret backend to use (see the flag `--backend`)\n* `AWS_VAULT_KEYCHAIN_NAME`: Name of macOS keychain to use (see the flag `--keychain`)\n* `AW...
Go
MIT License
99designs/aws-vault
Added documentation of pass env vars
1,409
09.08.2019 10:01:20
-36,000
cb88446b8658ac1466f482b6c2dede864acaf180
Update dbus deps
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/99designs/aws-vault\ngo 1.12\nrequire (\n- github.com/99designs/keyring v0.0.0-20190704105226-2c916c935b9f\n+ github.com/99designs/keyring v1.1.1\ngithub.com/alecthomas/template v0.0.0-2...
Go
MIT License
99designs/aws-vault
Update dbus deps
1,356
17.08.2019 21:42:23
-28,800
5485669edca645f95c088cca6e39b3855ffb4211
Added documentation of credential-process with prompt
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -225,6 +225,19 @@ $ aws-vault login work\nRef: https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes\nThis allows you to use credentials of multiple profiles at...
Go
MIT License
99designs/aws-vault
Added documentation of credential-process with prompt
1,409
27.08.2019 09:57:57
-36,000
d9435c08816567867a5da546b6c3367c10a531bc
Update keyring to use new kwallet5 dbus interface
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,19 +3,22 @@ module github.com/99designs/aws-vault\ngo 1.12\nrequire (\n- github.com/99designs/keyring v1.1.1\n+ github.com/99designs/keyring v1.1.2\ngithub.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc...
Go
MIT License
99designs/aws-vault
Update keyring to use new kwallet5 dbus interface
1,409
27.08.2019 10:07:00
-36,000
1e496f40d1d467429a83bd1b8e3098584cee3185
Fix homebrew instructions to drop the leading v
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -13,7 +13,7 @@ clean:\nrelease: all\ncodesign -s $(CERT) aws-vault-darwin-amd64\n- @echo \"\\nTo update homebrew-cask run\\n\\n cask-repair -v $(VERSION) aws-vault\\n\"\n+ @echo \"\\nTo update homebrew-cask run\\n...
Go
MIT License
99designs/aws-vault
Fix homebrew instructions to drop the leading v
1,425
13.09.2019 13:34:53
14,400
cd775e34e57c657e488b522c0cf68a359eabf284
99designs/aws-vault#405 Make password prompts go to stderr
[ { "change_type": "MODIFY", "old_path": "cli/global.go", "new_path": "cli/global.go", "diff": "@@ -110,7 +110,7 @@ func fileKeyringPassphrasePrompt(prompt string) (string, error) {\nreturn password, nil\n}\n- fmt.Printf(\"%s: \", prompt)\n+ fmt.Fprintf(os.Stderr, \"%s: \", prompt)\nb, err := terminal...
Go
MIT License
99designs/aws-vault
99designs/aws-vault#405 Make password prompts go to stderr
1,390
03.10.2019 22:58:55
-7,200
f07a46c1a230246572944ffd7c28fe30f26bbf99
Added how to configure aws-vault as a virtual MFA device
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "* [Being able to perform certain sts operations](#being-able-to-perform-certain-sts-operations)\n* [Rotating credentials](#rotating-credentials)\n* [Overriding the aws cli to use aws-vault](#overriding-the-aws-cli-to...
Go
MIT License
99designs/aws-vault
Added how to configure aws-vault as a virtual MFA device
1,409
08.10.2019 16:07:26
-39,600
473d6b078bf2f2c58230f617e573404ccdc7289a
Get aws-vault compiling on macOS Catalina
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -22,3 +22,5 @@ require (\ngopkg.in/alecthomas/kingpin.v2 v2.2.6\ngopkg.in/ini.v1 v1.44.0\n)\n+\n+replace github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4\n" }, ...
Go
MIT License
99designs/aws-vault
Get aws-vault compiling on macOS Catalina
1,355
25.10.2019 09:56:57
14,400
98f68b9b349e0469c155426d6bcea3b64101d999
Report errors via stderr This fixes an issue where piping the standard output from `aws-vault exec` to another program hides error messages when `aws-vault` itself encounters an error. For example, when an MFA token is invalid.
[ { "change_type": "MODIFY", "old_path": "main.go", "new_path": "main.go", "diff": "@@ -20,6 +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)\napp.Writer(os.Stdout)\napp.Versi...
Go
MIT License
99designs/aws-vault
Report errors via stderr This fixes an issue where piping the standard output from `aws-vault exec` to another program hides error messages when `aws-vault` itself encounters an error. For example, when an MFA token is invalid.
1,409
26.10.2019 21:58:03
-39,600
98799aaa82676d658cb39de43075f1a0eb033eb2
Create notorized dmg for macOS releases
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -9,10 +9,9 @@ SRC=$(shell find . -name '*.go')\nall: aws-vault-linux-amd64 aws-vault-darwin-amd64 aws-vault-windows-386.exe aws-vault-freebsd-amd64\nclean:\n- rm -f aws-vault-linux-amd64 aws-vault-darwin-amd64 aws...
Go
MIT License
99designs/aws-vault
Create notorized dmg for macOS releases
1,409
27.10.2019 10:50:37
-39,600
e4326e731daf63e58d26e3eb49747bc5500e8574
Use GH actions instead of travis
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/go.yml", "diff": "+name: Continuous Integration\n+on: [push]\n+jobs:\n+\n+ build:\n+ name: Build\n+ runs-on: ${{ matrix.os }}\n+ strategy:\n+ matrix:\n+ os: [ubuntu-18.04, macOS-10.14]\n+\n+ steps:\n+\n+ - name: Set up Go 1.13\...
Go
MIT License
99designs/aws-vault
Use GH actions instead of travis
1,409
28.10.2019 09:48:25
-39,600
fb653e6aa39b30029f208abf5ad4f68182467385
Consolidate docker config
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "-FROM golang:1.13.3 AS build-env\n+FROM golang AS build-env\nENV CGO_ENABLED=0 \\\nGOOS=linux \\\n" }, { "change_type": "DELETE", "old_path": "docker-compose.dev.yml", "new_path": null, "diff"...
Go
MIT License
99designs/aws-vault
Consolidate docker config
1,409
28.10.2019 10:02:54
-39,600
9f3df620f18ad9181c58955d08682fd4dd1bfea4
More config via env vars
[ { "change_type": "MODIFY", "old_path": "bin/create-dmg", "new_path": "bin/create-dmg", "diff": "@@ -19,6 +19,8 @@ BIN_PATH=\"$1\"\nDMG_PATH=\"$2\"\nAPPLE_ID_USERNAME=\"${APPLE_ID_USERNAME:-$(get_apple_id)}\"\nAPPLE_ID_APP_PASSWORD=\"${APPLE_ID_APP_PASSWORD:-\"@keychain:AC_PASSWORD\"}\"\n+CERT_ID=\"$...
Go
MIT License
99designs/aws-vault
More config via env vars
1,409
28.10.2019 12:48:25
-39,600
4dad0ea229ac5a46129df452b016dd8a9c895bfb
Downgrade aws sdk Changes to the STS Regional Flags in are causing issues in assumeRoleFromSession
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -6,7 +6,7 @@ require (\ngithub.com/99designs/keyring v1.1.3\ngithub.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect\ngithub.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect\n-...
Go
MIT License
99designs/aws-vault
Downgrade aws sdk Changes to the STS Regional Flags in https://github.com/aws/aws-sdk-go/releases/tag/v1.25.18 are causing issues in assumeRoleFromSession
1,409
29.10.2019 12:18:56
-39,600
8ae71d8a3d44ce98f1c0600cbbece4c1780eb60e
Sign dmg and add hardened runtime and timestamp to signature
[ { "change_type": "MODIFY", "old_path": "bin/create-dmg", "new_path": "bin/create-dmg", "diff": "@@ -29,16 +29,19 @@ cp -a $BIN_PATH $tmpdir/aws-vault\nsrc_path=\"$tmpdir/aws-vault\"\necho \"Signing binary\"\n-codesign -s \"$CERT_ID\" \"$src_path\"\n+codesign --options runtime --timestamp --sign \"$C...
Go
MIT License
99designs/aws-vault
Sign dmg and add hardened runtime and timestamp to signature
1,409
06.11.2019 10:21:34
-39,600
ce15c0f3ca2463483480b2271a839eb2e0117eff
Add --mfa-serial flag to exec, login and rotate
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -66,8 +66,12 @@ func ConfigureExecCommand(app *kingpin.Application) {\nShort('m').\nStringVar(&input.MfaToken)\n- cmd.Flag(\"mfa-serial-override\", \"Override the MFA Serial defined in AWS Profile\").\n- Ove...
Go
MIT License
99designs/aws-vault
Add --mfa-serial flag to exec, login and rotate
1,409
06.11.2019 12:21:28
-39,600
665377840d12097934e2ab20e8cf9a6513c9c504
Remove profile chaining for MFA to restore aws-cli compatibility
[ { "change_type": "MODIFY", "old_path": "vault/provider.go", "new_path": "vault/provider.go", "diff": "@@ -421,13 +421,10 @@ type VaultCredentials struct {\n}\nfunc NewVaultCredentials(k keyring.Keyring, profile string, opts VaultOptions) (*VaultCredentials, error) {\n- // always get the list of prof...
Go
MIT License
99designs/aws-vault
Remove profile chaining for MFA to restore aws-cli compatibility
1,409
07.11.2019 20:57:47
-39,600
0e1041c4d8fe0e445af4888ffe0d28b4416f5712
Split out GetUserFromSession
[ { "change_type": "ADD", "old_path": null, "new_path": "vault/getuser.go", "diff": "+package vault\n+\n+import (\n+ \"fmt\"\n+ \"regexp\"\n+ \"strings\"\n+\n+ \"github.com/aws/aws-sdk-go/aws/session\"\n+ \"github.com/aws/aws-sdk-go/service/iam\"\n+)\n+\n+var getUserErrorRegexp = regexp.MustCompile(`^...
Go
MIT License
99designs/aws-vault
Split out GetUserFromSession
1,409
07.11.2019 21:13:48
-39,600
ea83e9047233b35d858cbfa4409a3893acb38855
Add HintAction to all profile args
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -244,12 +244,3 @@ func (e *environ) Set(key, val string) {\ne.Unset(key)\n*e = append(*e, key+\"=\"+val)\n}\n-\n-// ProfileNames returns a slice of profile names from the AWS config\n-func ProfileNames() []s...
Go
MIT License
99designs/aws-vault
Add HintAction to all profile args
1,409
07.11.2019 21:21:43
-39,600
041da49e6784d3f31ceb7a0bacd1e1f12b93231a
Rename accounts to credentialNames
[ { "change_type": "MODIFY", "old_path": "cli/ls.go", "new_path": "cli/ls.go", "diff": "@@ -40,9 +40,9 @@ func ConfigureListCommand(app *kingpin.Application) {\n})\n}\n-func containsProfile(profile string, accounts []string) bool {\n- for _, account := range accounts {\n- if !vault.IsSessionKey(accoun...
Go
MIT License
99designs/aws-vault
Rename accounts to credentialNames
1,409
07.11.2019 22:09:33
-39,600
b79cb1ac6861993ea84666303e731f9cfc4c9b4f
Rename deprecated OverrideDefaultFromEnvar
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -53,13 +53,13 @@ func ConfigureExecCommand(app *kingpin.Application) {\ncmd.Flag(\"session-ttl\", \"Expiration time for aws session\").\nDefault(\"4h\").\n- OverrideDefaultFromEnvar(\"AWS_SESSION_TTL\").\n+ ...
Go
MIT License
99designs/aws-vault
Rename deprecated OverrideDefaultFromEnvar
1,409
07.11.2019 21:32:52
-39,600
11a58a7d1e86d3f545aab40ae55951191af51b45
Replace SourceProfile with CredentialName
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -44,9 +44,10 @@ func ConfigureAddCommand(app *kingpin.Application) {\nfunc AddCommand(app *kingpin.Application, input AddCommandInput) {\nvar accessKeyId, secretKey string\n- if source, _ := awsConfig.SourcePr...
Go
MIT License
99designs/aws-vault
Replace SourceProfile with CredentialName
1,409
11.11.2019 19:34:38
-39,600
da448fc61a598651f3c6bc69fb228ed7a7330c2a
Remove VaultCredentials
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -145,7 +145,11 @@ func ExecCommand(app *kingpin.Application, input ExecCommandInput) {\nSessionToken: val.SessionToken,\n}\nif !input.Config.NoSession {\n- credentialData.Expiration = creds.Expires().Format(...
Go
MIT License
99designs/aws-vault
Remove VaultCredentials
1,409
12.11.2019 09:08:51
-39,600
e6890ea930429ef92d7b455316f87f4177b8a45a
Rename CredentialName to CredentialsName
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -78,7 +78,7 @@ func AddCommand(app *kingpin.Application, input AddCommandInput) {\n}\ncreds := credentials.Value{AccessKeyID: accessKeyId, SecretAccessKey: secretKey}\n- provider := &vault.KeyringProvider{Keyr...
Go
MIT License
99designs/aws-vault
Rename CredentialName to CredentialsName
1,409
12.11.2019 10:06:16
-39,600
488b554a4a98e3ef728c03aa568d01ed1afb607a
DRY up provider logic
[ { "change_type": "MODIFY", "old_path": "vault/provider.go", "new_path": "vault/provider.go", "diff": "package vault\nimport (\n+ \"errors\"\n\"fmt\"\n\"log\"\n\"time\"\n@@ -35,122 +36,97 @@ func NewVaultProvider(k keyring.Keyring, profileName string, opts *Config) (*Vau\n}, nil\n}\n-// Retrieve retu...
Go
MIT License
99designs/aws-vault
DRY up provider logic
1,409
12.11.2019 23:28:02
-39,600
2bf7dbe34150ca399d324354c7d04c4303204b2f
Simplify rotation
[ { "change_type": "MODIFY", "old_path": "vault/getuser.go", "new_path": "vault/getuser.go", "diff": "@@ -13,9 +13,7 @@ var getUserErrorRegexp = regexp.MustCompile(`^AccessDenied: User: arn:aws:iam::(\n// GetUsernameFromSession returns the IAM username (or root) associated with the current aws session...
Go
MIT License
99designs/aws-vault
Simplify rotation
1,409
13.11.2019 21:28:16
-39,600
9333fd3bc21bd795b1960209df3a7813bb1c0683
Rely on caching in Credentials rather than our own
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -78,7 +78,7 @@ func AddCommand(app *kingpin.Application, input AddCommandInput) {\n}\ncreds := credentials.Value{AccessKeyID: accessKeyId, SecretAccessKey: secretKey}\n- provider := &vault.KeyringProvider{Keyr...
Go
MIT License
99designs/aws-vault
Rely on caching in Credentials rather than our own
1,409
14.11.2019 09:08:39
-39,600
892c304bc95d4c9fd4e1664e1cbba7d194c98626
Fixes for rotate
[ { "change_type": "MODIFY", "old_path": "vault/provider.go", "new_path": "vault/provider.go", "diff": "@@ -49,6 +49,12 @@ type VaultProvider struct {\nmasterCreds *credentials.Credentials\nsessions *KeyringSessions\nconfig *Config\n+ forceSessionRefresh bool\n+}\n+\n+func (p *VaultProvider) ForceRefr...
Go
MIT License
99designs/aws-vault
Fixes for rotate
1,409
14.11.2019 20:35:19
-39,600
17062f193be82972fe4812743767e6a448d20b53
Add support for duration_seconds config variable
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -125,6 +125,7 @@ type ProfileSection struct {\nExternalID string `ini:\"external_id,omitempty\"`\nRegion string `ini:\"region,omitempty\"`\nRoleSessionName string `ini:\"role_session_name,omitempty\"...
Go
MIT License
99designs/aws-vault
Add support for duration_seconds config variable
1,409
14.11.2019 20:53:18
-39,600
25fd01efe86e8a7afdf7b007c3f2fee33076bbd9
Rename providers for clarity
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -78,7 +78,7 @@ func AddCommand(app *kingpin.Application, input AddCommandInput) {\n}\ncreds := credentials.Value{AccessKeyID: accessKeyId, SecretAccessKey: secretKey}\n- provider := vault.NewKeyringProvider(in...
Go
MIT License
99designs/aws-vault
Rename providers for clarity
1,382
15.11.2019 12:24:57
-3,600
e240b0f13a8849b6a6bf35049741d907b300c2f8
Add more --server instructions We have faced an issue with that change explains and we think is a good point to share it.
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -73,6 +73,13 @@ The credentials are exposed to the subprocess in one of two ways:\nThe default is to use environment variables, but you can opt-in to the local instance metadata server with the `--server` flag o...
Go
MIT License
99designs/aws-vault
Add more --server instructions We have faced an issue with that change explains and we think is a good point to share it.
1,409
19.11.2019 08:52:02
-39,600
7b38071bc9c15061ca3a1097a18047560f95ad3d
Do a real exec on execution
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -5,10 +5,7 @@ import (\n\"fmt\"\n\"log\"\n\"os\"\n- \"os/exec\"\n- \"os/signal\"\n\"strings\"\n- \"syscall\"\n\"github.com/99designs/aws-vault/prompt\"\n\"github.com/99designs/aws-vault/server\"\n@@ -180,42 ...
Go
MIT License
99designs/aws-vault
Do a real exec on execution
1,409
23.11.2019 22:17:08
-39,600
9420f6e73467e0bd5a78f63c029d1d8ae33ffb98
DRY up MFA code
[ { "change_type": "MODIFY", "old_path": "cli/exec.go", "new_path": "cli/exec.go", "diff": "@@ -7,7 +7,6 @@ import (\n\"os\"\n\"strings\"\n- \"github.com/99designs/aws-vault/prompt\"\n\"github.com/99designs/aws-vault/server\"\n\"github.com/99designs/aws-vault/vault\"\n\"github.com/99designs/keyring\"\...
Go
MIT License
99designs/aws-vault
DRY up MFA code
1,409
24.11.2019 16:20:18
-39,600
d486727767364c092a3e244405ed4fa21a8adc97
Refactor rotate and remove --mfa-token and --no-session flags mfa-token: There are 2 prompts for the MFA token during a rotate, so this part is always interactive. no-session: No session is now the default when an MFA device isn't specified
[ { "change_type": "MODIFY", "old_path": "cli/rotate.go", "new_path": "cli/rotate.go", "diff": "@@ -18,22 +18,15 @@ func ConfigureRotateCommand(app *kingpin.Application) {\ninput := RotateCommandInput{}\ncmd := app.Command(\"rotate\", \"Rotates credentials\")\n+\ncmd.Arg(\"profile\", \"Name of the pro...
Go
MIT License
99designs/aws-vault
Refactor rotate and remove --mfa-token and --no-session flags --mfa-token: There are 2 prompts for the MFA token during a rotate, so this part is always interactive. --no-session: No session is now the default when an MFA device isn't specified