aws-sdk-core 3.130.1 → 3.130.2
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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/assume_role_credentials.rb +1 -1
- data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +2 -3
- data/lib/aws-sdk-core/refreshing_credentials.rb +2 -0
- data/lib/aws-sdk-core/sso_credentials.rb +7 -3
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff22a0d39db864fb7a965fedeb1f45730a70840d8ae4475e2222529604e3a707
|
|
4
|
+
data.tar.gz: 90117e48ef4377412254102c08d95718c14b407c64be26b8bb0c62b4b349bfa2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dded90c284f709ca41f859ffb832c243728e2d19d630a84c6ba960052e8004af3e90c292f307c8ab76d2f0578ae2259402c4b96ad3a73c7a7e48e9b72c23a919
|
|
7
|
+
data.tar.gz: bf2b97dc6ce9aafca32582f0e06b0245bf0741f897cfe1ebadf7369f1e7344604247803b396aedc6da37415594baacdce933cd22afba09abc61684884dafe135
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.130.
|
|
1
|
+
3.130.2
|
|
@@ -52,7 +52,7 @@ module Aws
|
|
|
52
52
|
options.each_pair do |key, value|
|
|
53
53
|
if self.class.assume_role_web_identity_options.include?(key)
|
|
54
54
|
@assume_role_web_identity_params[key] = value
|
|
55
|
-
|
|
55
|
+
elsif !CLIENT_EXCLUDE_OPTIONS.include?(key)
|
|
56
56
|
client_opts[key] = value
|
|
57
57
|
end
|
|
58
58
|
end
|
|
@@ -100,11 +100,10 @@ module Aws
|
|
|
100
100
|
# @api private
|
|
101
101
|
def assume_role_web_identity_options
|
|
102
102
|
@arwio ||= begin
|
|
103
|
-
input = STS::Client.api.operation(:assume_role_with_web_identity).input
|
|
103
|
+
input = Aws::STS::Client.api.operation(:assume_role_with_web_identity).input
|
|
104
104
|
Set.new(input.shape.member_names)
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
|
-
|
|
108
107
|
end
|
|
109
108
|
end
|
|
110
109
|
end
|
|
@@ -20,6 +20,8 @@ module Aws
|
|
|
20
20
|
SYNC_EXPIRATION_LENGTH = 300 # 5 minutes
|
|
21
21
|
ASYNC_EXPIRATION_LENGTH = 600 # 10 minutes
|
|
22
22
|
|
|
23
|
+
CLIENT_EXCLUDE_OPTIONS = Set.new([:before_refresh]).freeze
|
|
24
|
+
|
|
23
25
|
def initialize(options = {})
|
|
24
26
|
@mutex = Mutex.new
|
|
25
27
|
@before_refresh = options.delete(:before_refresh) if Hash === options
|
|
@@ -83,9 +83,13 @@ module Aws
|
|
|
83
83
|
# validate we can read the token file
|
|
84
84
|
read_cached_token
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
|
|
87
|
+
client_opts = {}
|
|
88
|
+
options.each_pair { |k,v| client_opts[k] = v unless CLIENT_EXCLUDE_OPTIONS.include?(k) }
|
|
89
|
+
client_opts[:region] = @sso_region
|
|
90
|
+
client_opts[:credentials] = nil
|
|
91
|
+
|
|
92
|
+
@client = options[:client] || Aws::SSO::Client.new(client_opts)
|
|
89
93
|
@async_refresh = true
|
|
90
94
|
super
|
|
91
95
|
end
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
|
@@ -2290,7 +2290,7 @@ module Aws::STS
|
|
|
2290
2290
|
params: params,
|
|
2291
2291
|
config: config)
|
|
2292
2292
|
context[:gem_name] = 'aws-sdk-core'
|
|
2293
|
-
context[:gem_version] = '3.130.
|
|
2293
|
+
context[:gem_version] = '3.130.2'
|
|
2294
2294
|
Seahorse::Client::Request.new(handlers, context)
|
|
2295
2295
|
end
|
|
2296
2296
|
|
data/lib/aws-sdk-sts.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.130.
|
|
4
|
+
version: 3.130.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|