awskeyring 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +6 -6
- data/lib/awskeyring/awsapi.rb +4 -1
- data/lib/awskeyring/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: 4f230d1738aeb01f9941b2ab600b01a8a95dd553
|
|
4
|
+
data.tar.gz: 37f4a3272af91cde6c0b6eb2250ed224149aae44
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 689d1af4fa3aa32e7ab2b6a55cafee2910bb9754e0f3be1fdb9270c9b0e3806e3fde6eb0445600133ed0a2b43690f68f5523079cd17fb21ee483eafdc3300486
|
|
7
|
+
data.tar.gz: a8adadefa778e3ba1b6df9d22ad438b8fc74eb9dd510e8659a05980a8624d7a8010fd9dd9d9026d4923d00a43499288cc9e17c4b1d2f95d088ebd883c01d0c06
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v0.8.1](https://github.com/vibrato/awskeyring/tree/v0.8.1) (2019-02-06)
|
|
4
|
+
[Full Changelog](https://github.com/vibrato/awskeyring/compare/v0.8.0...v0.8.1)
|
|
5
|
+
|
|
6
|
+
**Fixed bugs:**
|
|
7
|
+
|
|
8
|
+
- Fix usage behind PROXIES [\#42](https://github.com/vibrato/awskeyring/pull/42) ([tristanmorgan](https://github.com/tristanmorgan))
|
|
9
|
+
|
|
3
10
|
## [v0.8.0](https://github.com/vibrato/awskeyring/tree/v0.8.0) (2018-12-19)
|
|
4
11
|
[Full Changelog](https://github.com/vibrato/awskeyring/compare/v0.7.2...v0.8.0)
|
|
5
12
|
|
data/README.md
CHANGED
|
@@ -18,6 +18,12 @@ the AWS Console from the cli.
|
|
|
18
18
|
For Enterprise environments there are better suited tools to use
|
|
19
19
|
like [HashiCorp Vault](https://vaultproject.io/).
|
|
20
20
|
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
Install it with:
|
|
24
|
+
|
|
25
|
+
$ gem install awskeyring --user-install
|
|
26
|
+
|
|
21
27
|
## Quick start
|
|
22
28
|
|
|
23
29
|
First you need to initialise your keychain to hold your AWS credentials.
|
|
@@ -40,12 +46,6 @@ Alternatively you can create a profile using the credential_process config varia
|
|
|
40
46
|
|
|
41
47
|
See below and in the [wiki](https://github.com/vibrato/awskeyring/wiki) for more details on usage.
|
|
42
48
|
|
|
43
|
-
## Installation
|
|
44
|
-
|
|
45
|
-
Install it with:
|
|
46
|
-
|
|
47
|
-
$ gem install awskeyring --user-install
|
|
48
|
-
|
|
49
49
|
## Usage
|
|
50
50
|
|
|
51
51
|
The CLI is using [Thor](http://whatisthor.com) with help provided interactively.
|
data/lib/awskeyring/awsapi.rb
CHANGED
|
@@ -159,7 +159,10 @@ module Awskeyring
|
|
|
159
159
|
get_signin_token_url = AWS_SIGNIN_URL + '?Action=getSigninToken' \
|
|
160
160
|
'&Session=' + CGI.escape(session_json)
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
uri = URI(get_signin_token_url)
|
|
163
|
+
request = Net::HTTP.new(uri.host, uri.port)
|
|
164
|
+
request.use_ssl = true
|
|
165
|
+
returned_content = request.get(uri).body
|
|
163
166
|
|
|
164
167
|
signin_token = JSON.parse(returned_content)['SigninToken']
|
|
165
168
|
'&SigninToken=' + CGI.escape(signin_token)
|
data/lib/awskeyring/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: awskeyring
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tristan Morgan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-iam
|