mydrive-aws-mfa 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: c272882302abaecec8f71659b7ce8cc73b447cc0a8439aa44ef347056d37a679
4
- data.tar.gz: bdb70dc1ab732d04b380d3f4cd22df09f40c219a71b9ecefb780f01d53faf054
2
+ SHA1:
3
+ metadata.gz: d937928ecf69a8a6cdffaad09ec850ecb0af0633
4
+ data.tar.gz: f02617189b0a87ae28d29b1694ccd327a3648c37
5
5
  SHA512:
6
- metadata.gz: f6f5cce0cab0f4d803e07eb4014e700140ac289a8589b46f8bb122de636062f85a24de8487a1c162382e197133d8840428d8895b05d7daacc4810389c9255797
7
- data.tar.gz: ca27d8f5078a4bb36fd628a513b79faaee617d96964bb0cd38401cfdc328e8b7626b860b582dadd142ec77d68ee0dbb9b27903edc1477f30dac5ee411560f72c
6
+ metadata.gz: 2e8b5632cbb667d2c41b502640ee26429dcddb7af5d88d754e1db8afdf0a8985ee14c7a544e37ed9c770e7a8015d9fe789c2e3880138f238eef2d83171e83479
7
+ data.tar.gz: c1faeb1f690ed3498b30fb6d6bb61a396a490657b7801d5a3bfb3d6d4279fb546bb22d5ce6b27e5f37ad6e29707f13ef40d06efd4223a5346ae339d67dc92bd7
data/README.md CHANGED
@@ -9,7 +9,6 @@ It uses [AWS STS](http://docs.aws.amazon.com/cli/latest/reference/sts/index.html
9
9
  * AWS_SECRET_ACCESS_KEY
10
10
  * AWS_ACCESS_KEY_ID
11
11
  * AWS_SESSION_TOKEN
12
- * AWS_SECURITY_TOKEN
13
12
 
14
13
  The gem can assume different roles specified by AWS profiles.
15
14
 
@@ -21,21 +21,18 @@ class CredentialsOutputExecutor
21
21
  ENV.delete('AWS_SECRET_ACCESS_KEY')
22
22
  ENV.delete('AWS_ACCESS_KEY_ID')
23
23
  ENV.delete('AWS_SESSION_TOKEN')
24
- ENV.delete('AWS_SECURITY_TOKEN')
25
24
  end
26
25
 
27
26
  def export_credentials(credentials)
28
27
  ENV['AWS_SECRET_ACCESS_KEY'] = credentials['SecretAccessKey']
29
28
  ENV['AWS_ACCESS_KEY_ID'] = credentials['AccessKeyId']
30
29
  ENV['AWS_SESSION_TOKEN'] = credentials['SessionToken']
31
- ENV['AWS_SECURITY_TOKEN'] = credentials['SessionToken']
32
30
  end
33
31
 
34
32
  def print_credentials(credentials)
35
33
  puts "export AWS_SECRET_ACCESS_KEY='#{credentials['SecretAccessKey']}'"
36
34
  puts "export AWS_ACCESS_KEY_ID='#{credentials['AccessKeyId']}'"
37
35
  puts "export AWS_SESSION_TOKEN='#{credentials['SessionToken']}'"
38
- puts "export AWS_SECURITY_TOKEN='#{credentials['SessionToken']}'"
39
36
  end
40
37
 
41
38
  def execute_command_line_arguments
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mydrive-aws-mfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MyDrive Solutions Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-16 00:00:00.000000000 Z
11
+ date: 2018-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - aws-cli
93
93
  rubyforge_project:
94
- rubygems_version: 2.7.6
94
+ rubygems_version: 2.6.14.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Run AWS commands with MFA (MyDrive fork)