vagrant-aws-credentials 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/vagrant-aws-credentials/config.rb +6 -5
- data/lib/vagrant-aws-credentials/version.rb +1 -1
- 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: fb9ed21ca428e402f287722d7ec280a4ddcf3e66
|
4
|
+
data.tar.gz: ecf15c79125af2042793f11dd336999f551c757d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f34a01b1c5c285d4bb32dfd9e1c148a41ca899edcbe826a161583297405b65cfc18c0531b876f987058122d762d073bb9c7c9aad450079e9bb619ec2d1fd5b2e
|
7
|
+
data.tar.gz: 7b3ecc62f25605b78de759e5397822f1c1bb3c93856204d1d1fdfed8e6e55771642371fef3ec0041bde1da24c5f042ddb5b8fe4bdf20887732e4c30859516a41
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Vagrant Aws Credentials
|
2
2
|
|
3
|
-
This plugin
|
3
|
+
This plugin allows Vagrant to read your AWS Credentials, just configure which AWS profile to use.
|
4
|
+
It serves as an alternative while this [pull request](https://github.com/mitchellh/vagrant-aws/pull/441) isn't merged to `vagrant-aws` plugin.
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -38,7 +39,7 @@ But a quick tip is to use as:
|
|
38
39
|
|
39
40
|
## Contributing
|
40
41
|
|
41
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
42
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/datherra/vagrant-aws-credentials. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
42
43
|
|
43
44
|
|
44
45
|
## License
|
@@ -11,11 +11,12 @@ module VagrantPlugins
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def finalize!
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
unless @profile == UNSET_VALUE
|
15
|
+
c = ::Aws::SharedCredentials.new(profile_name: @profile)
|
16
|
+
ENV["VAGRANT_AWS_ACCESS_KEY"] = c.credentials.access_key_id
|
17
|
+
ENV["VAGRANT_AWS_SECRET_ACCESS_KEY"] = c.credentials.secret_access_key
|
18
|
+
ENV["VAGRANT_AWS_SESSION_TOKEN"] = c.credentials.session_token
|
19
|
+
end
|
19
20
|
end
|
20
21
|
end
|
21
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-aws-credentials
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafa Nunes
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|