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 +5 -5
- data/README.md +0 -1
- data/lib/aws_mfa/credentials_output_executor.rb +0 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d937928ecf69a8a6cdffaad09ec850ecb0af0633
|
4
|
+
data.tar.gz: f02617189b0a87ae28d29b1694ccd327a3648c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e8b5632cbb667d2c41b502640ee26429dcddb7af5d88d754e1db8afdf0a8985ee14c7a544e37ed9c770e7a8015d9fe789c2e3880138f238eef2d83171e83479
|
7
|
+
data.tar.gz: c1faeb1f690ed3498b30fb6d6bb61a396a490657b7801d5a3bfb3d6d4279fb546bb22d5ce6b27e5f37ad6e29707f13ef40d06efd4223a5346ae339d67dc92bd7
|
data/README.md
CHANGED
@@ -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.
|
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-
|
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.
|
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)
|