aws-keychain-util 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/aws-keychain-util.gemspec +1 -1
- data/bin/aws-creds +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51c1cdb1ab0fb62ba46499a92cde5dfd68ec9d86
|
4
|
+
data.tar.gz: 0a42483da6bbdc164552970bfa560b8f805d34a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eccf9ed4c2453e986d6d2af4bfcedfa27d47c158ac34a75c5451b83543240e6994f32621ec3b60ff338188e321a312e3317e6c1468ae18fecbf8dc06e4cab3b1
|
7
|
+
data.tar.gz: 48e1d5492237026d9ddb3c5554519376cbcfb1128d06e3d90aca5af3b3a5cc86dd4612e071d28ccc7ba20910238a970d4479a84850662473f81fdc6ea0086110
|
data/aws-keychain-util.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "aws-keychain-util"
|
7
|
-
gem.version = '0.0.
|
7
|
+
gem.version = '0.0.11'
|
8
8
|
gem.authors = ["Zach Wily"]
|
9
9
|
gem.email = ["zach@zwily.com"]
|
10
10
|
gem.description = %q{Helps manage a keychain of AWS credentials on OS X.}
|
data/bin/aws-creds
CHANGED
@@ -172,10 +172,11 @@ when 'mfa'
|
|
172
172
|
|
173
173
|
when 'env'
|
174
174
|
item, token = get_item_from_args_for_command('shell')
|
175
|
+
key = item.password
|
175
176
|
puts "export AWS_ACCESS_KEY_ID=\"#{item.attributes[:account]}\""
|
176
177
|
puts "export AWS_ACCESS_KEY=\"#{item.attributes[:account]}\""
|
177
|
-
puts "export AWS_SECRET_ACCESS_KEY=\"#{
|
178
|
-
puts "export AWS_SECRET_KEY=\"#{
|
178
|
+
puts "export AWS_SECRET_ACCESS_KEY=\"#{key}\""
|
179
|
+
puts "export AWS_SECRET_KEY=\"#{key}\""
|
179
180
|
puts "export RPROMPT=\"(aws #{item.attributes[:label]})\""
|
180
181
|
puts "export AWS_CREDS_NAME=\"#{item.attributes[:label]}\""
|
181
182
|
if token
|
@@ -204,7 +205,7 @@ when 'shell'
|
|
204
205
|
if prefs['shell_arguments']
|
205
206
|
exec(aws_env, ENV['SHELL'], prefs['shell_arguments'])
|
206
207
|
else
|
207
|
-
exec(aws_env)
|
208
|
+
exec(aws_env, ENV['SHELL'])
|
208
209
|
end
|
209
210
|
else
|
210
211
|
exec(aws_env, *ARGV)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-keychain-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Wily
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-keychain
|