aws_assume_role 0.2.1 → 0.2.2

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
2
  SHA1:
3
- metadata.gz: 0ce405e4811023c4452afc56ecff14db811f6688
4
- data.tar.gz: 2db25acdd8e183f631a21f3100002689f218c463
3
+ metadata.gz: 03fecf7d5f2092e3e20d819c37bcd2aa772ec1c3
4
+ data.tar.gz: 3940730a21e3ba1b6b5b518ccce26b0adca352a9
5
5
  SHA512:
6
- metadata.gz: 42c5c843da415cf310e5ba0e3f1e138eb05bb72427b6965594f12033881caae18d5434ee74121f6edb4aa46c567b657f2c7dbda6ebbacce927249fa56d2184e7
7
- data.tar.gz: 34426b7182d419a5e817dae23c37cd9b53de59adec5438f9e46a4a25230f8dd58ff4c260b0e1fd92b6d08e88e2bf481f27be99da9c7f51669d0ff07313029f1f
6
+ metadata.gz: d7c6418e50834f18abff1ec04e6fe324efaa8e0e0af023791ffb2078ebb2a1116a47f865457e0fc4e5742746d3454f277cb111dd4e6cffae31f9d5f97a6cbddd
7
+ data.tar.gz: 578ad513df22b8b0cccc7ebd1fb1cc9a001d314bb986fb4776d04a932f51a39eb64dbc17b8477a5bbdf74d4babded4cafe4dc25c753b447746c9230c7dfb1443
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.2
2
+ * Add Yubikey OATH support to the default chain provider (@randomvariable)
3
+
4
+
1
5
  ## 0.2.1
2
6
  * Loosen requirement on highline to improve compatibility with Puppet tools (@randomvariable)
3
7
 
@@ -16,24 +16,25 @@ class AwsAssumeRole::Credentials::Factories::DefaultChainProvider < Dry::Struct
16
16
 
17
17
  attribute :access_key_id, Dry::Types["strict.string"].optional
18
18
  attribute :credentials, Dry::Types["object"].optional
19
- attribute :secret_access_key, Dry::Types["strict.string"].optional
20
- attribute :session_token, Dry::Types["strict.string"].optional
21
19
  attribute :duration_seconds, Dry::Types["coercible.int"].optional
22
20
  attribute :external_id, Dry::Types["strict.string"].optional
23
- attribute :persist_session, Dry::Types["strict.bool"].default(true)
21
+ attribute :instance_profile_credentials_retries, Dry::Types["strict.int"].default(0)
22
+ attribute :instance_profile_credentials_timeout, Dry::Types["coercible.float"].default(1.0)
23
+ attribute :mfa_serial, Dry::Types["strict.string"].optional
24
+ attribute :no_profile, Dry::Types["strict.bool"].default(false)
24
25
  attribute :path, Dry::Types["strict.string"].optional
25
- attribute :profile, Dry::Types["strict.string"].optional
26
+ attribute :persist_session, Dry::Types["strict.bool"].default(true)
26
27
  attribute :profile_name, Dry::Types["strict.string"].optional
28
+ attribute :profile, Dry::Types["strict.string"].optional
27
29
  attribute :region, Dry::Types["strict.string"].optional
28
30
  attribute :role_arn, Dry::Types["strict.string"].optional
29
31
  attribute :role_session_name, Dry::Types["strict.string"].optional
32
+ attribute :secret_access_key, Dry::Types["strict.string"].optional
30
33
  attribute :serial_number, Dry::Types["strict.string"].optional
31
- attribute :mfa_serial, Dry::Types["strict.string"].optional
32
- attribute :use_mfa, Dry::Types["strict.bool"].default(false)
33
- attribute :no_profile, Dry::Types["strict.bool"].default(false)
34
+ attribute :session_token, Dry::Types["strict.string"].optional
34
35
  attribute :source_profile, Dry::Types["strict.string"].optional
35
- attribute :instance_profile_credentials_retries, Dry::Types["strict.int"].default(0)
36
- attribute :instance_profile_credentials_timeout, Dry::Types["coercible.float"].default(1.0)
36
+ attribute :use_mfa, Dry::Types["strict.bool"].default(false)
37
+ attribute :yubikey_oath_name, Dry::Types["strict.string"].optional
37
38
 
38
39
  def self.new(options)
39
40
  if options.respond_to? :resolve
@@ -1,3 +1,3 @@
1
1
  module AwsAssumeRole
2
- VERSION = "0.2.1".freeze
2
+ VERSION = "0.2.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_assume_role
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Topper
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-04-03 00:00:00.000000000 Z
13
+ date: 2017-04-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport