aws-sdk-core 3.238.0 → 3.239.0
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/VERSION +1 -1
- data/lib/aws-sdk-core/credential_provider_chain.rb +5 -2
- data/lib/aws-sdk-core/shared_config.rb +6 -4
- data/lib/aws-sdk-signin/client.rb +2 -2
- data/lib/aws-sdk-signin.rb +2 -2
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +1 -1
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0930345246f3fddce05d3299d9f6a80b258a853e0239b9569256618b1f97ca88'
|
|
4
|
+
data.tar.gz: f79df75dec6db28e4439b3876d137a1c14942508e4063ebbf45e0125f89faade
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b8e65edeabaf153348560bc78ba0c56b36cd3afa0123b0f8c7904072e5d69ddf81d1c4de6e2982027fafb642986ed86074a7be001adeb5934cd1af1d96654fa
|
|
7
|
+
data.tar.gz: c3f2f373ca44cd05a0f5fed5204570cb431fadadbac6897926545237f4773dd36424c33da7c0a0b575f9fbc55093a1f72e82646facfaa4dfac14b9cf3f4d4d6c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
3.239.0 (2025-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updated Aws::Signin::Client with the latest API changes.
|
|
8
|
+
|
|
9
|
+
* Issue - Fix region configuration for LoginCredential's Signin client.
|
|
10
|
+
|
|
4
11
|
3.238.0 (2025-11-19)
|
|
5
12
|
------------------
|
|
6
13
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.239.0
|
|
@@ -110,7 +110,10 @@ module Aws
|
|
|
110
110
|
return unless Aws.shared_config.config_enabled? && options[:config]&.profile
|
|
111
111
|
|
|
112
112
|
with_metrics('CREDENTIALS_CODE') do
|
|
113
|
-
creds = Aws.shared_config.login_credentials_from_config(
|
|
113
|
+
creds = Aws.shared_config.login_credentials_from_config(
|
|
114
|
+
profile: options[:config].profile,
|
|
115
|
+
region: options[:config].region
|
|
116
|
+
)
|
|
114
117
|
return unless creds
|
|
115
118
|
|
|
116
119
|
creds.metrics << 'CREDENTIALS_CODE'
|
|
@@ -170,7 +173,7 @@ module Aws
|
|
|
170
173
|
return unless Aws.shared_config.config_enabled?
|
|
171
174
|
|
|
172
175
|
profile_name = determine_profile_name(options)
|
|
173
|
-
Aws.shared_config.login_credentials_from_config(profile: profile_name)
|
|
176
|
+
Aws.shared_config.login_credentials_from_config(profile: profile_name, region: options[:config].region)
|
|
174
177
|
rescue Errors::NoSuchProfileError
|
|
175
178
|
nil
|
|
176
179
|
end
|
|
@@ -176,8 +176,8 @@ module Aws
|
|
|
176
176
|
# file, if present.
|
|
177
177
|
def login_credentials_from_config(opts = {})
|
|
178
178
|
p = opts[:profile] || @profile_name
|
|
179
|
-
credentials = login_credentials_from_profile(@parsed_credentials, p)
|
|
180
|
-
credentials ||= login_credentials_from_profile(@parsed_config, p) if @parsed_config
|
|
179
|
+
credentials = login_credentials_from_profile(@parsed_credentials, p, opts[:region])
|
|
180
|
+
credentials ||= login_credentials_from_profile(@parsed_config, p, opts[:region]) if @parsed_config
|
|
181
181
|
credentials
|
|
182
182
|
end
|
|
183
183
|
|
|
@@ -479,10 +479,12 @@ module Aws
|
|
|
479
479
|
end
|
|
480
480
|
end
|
|
481
481
|
|
|
482
|
-
def login_credentials_from_profile(cfg, profile)
|
|
482
|
+
def login_credentials_from_profile(cfg, profile, region)
|
|
483
483
|
return unless @parsed_config && (prof_config = cfg[profile]) && prof_config['login_session']
|
|
484
484
|
|
|
485
|
-
|
|
485
|
+
cfg = { login_session: prof_config['login_session'] }
|
|
486
|
+
cfg[:region] = region if region
|
|
487
|
+
creds = LoginCredentials.new(cfg)
|
|
486
488
|
creds.metrics << 'CREDENTIALS_PROFILE_LOGIN'
|
|
487
489
|
creds
|
|
488
490
|
end
|
|
@@ -578,8 +578,8 @@ module Aws::Signin
|
|
|
578
578
|
config: config,
|
|
579
579
|
tracer: tracer
|
|
580
580
|
)
|
|
581
|
-
context[:gem_name] = 'aws-sdk-
|
|
582
|
-
context[:gem_version] = '
|
|
581
|
+
context[:gem_name] = 'aws-sdk-core'
|
|
582
|
+
context[:gem_version] = '3.239.0'
|
|
583
583
|
Seahorse::Client::Request.new(handlers, context)
|
|
584
584
|
end
|
|
585
585
|
|
data/lib/aws-sdk-signin.rb
CHANGED
|
@@ -16,7 +16,7 @@ end
|
|
|
16
16
|
Aws::Plugins::GlobalConfiguration.add_identifier(:signin)
|
|
17
17
|
|
|
18
18
|
# This module provides support for AWS Sign-In Service. This module is available in the
|
|
19
|
-
# `aws-sdk-
|
|
19
|
+
# `aws-sdk-core` gem.
|
|
20
20
|
#
|
|
21
21
|
# # Client
|
|
22
22
|
#
|
|
@@ -56,7 +56,7 @@ module Aws::Signin
|
|
|
56
56
|
autoload :EndpointProvider, 'aws-sdk-signin/endpoint_provider'
|
|
57
57
|
autoload :Endpoints, 'aws-sdk-signin/endpoints'
|
|
58
58
|
|
|
59
|
-
GEM_VERSION = '
|
|
59
|
+
GEM_VERSION = '3.239.0'
|
|
60
60
|
|
|
61
61
|
end
|
|
62
62
|
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
data/lib/aws-sdk-sts.rb
CHANGED