aws-sdk-core 3.72.1 → 3.78.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core/credential_provider.rb +0 -28
- data/lib/aws-sdk-core/log/param_filter.rb +1 -1
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +7 -2
- data/lib/aws-sdk-core/shared_config.rb +15 -0
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/seahorse/client/plugin.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90c773fc0577d5607211e10f3d18d9cf3786d430
|
4
|
+
data.tar.gz: 1ac8f99565e2437ebb25f545a31fc13b252e619f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5113990f262a560e7aabb293b4b08a4435d9fa0a0437ef4e7469aa922c8814dcb04a033e771345c396df2150a759a6e9ffc4cf36747f828d0e2669e3afa00c43
|
7
|
+
data.tar.gz: 0506d13ebca4fd603a3c78ba4f0e77a6e8d3e1b8ea0e2bf4d694efb7041bfb5c60d1ff36945fdd8da386b7d0dd2f486ddd49e2bfed1981e4a05600cd33db0ed1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.78.0
|
@@ -1,10 +1,6 @@
|
|
1
|
-
require_relative 'deprecations'
|
2
|
-
|
3
1
|
module Aws
|
4
2
|
module CredentialProvider
|
5
3
|
|
6
|
-
extend Deprecations
|
7
|
-
|
8
4
|
# @return [Credentials]
|
9
5
|
attr_reader :credentials
|
10
6
|
|
@@ -13,29 +9,5 @@ module Aws
|
|
13
9
|
!!credentials && credentials.set?
|
14
10
|
end
|
15
11
|
|
16
|
-
# @deprecated This method is subject to errors from a race condition when
|
17
|
-
# called against refreshable credential objects. This will be removed.
|
18
|
-
# @see #credentials
|
19
|
-
def access_key_id
|
20
|
-
credentials ? credentials.access_key_id : nil
|
21
|
-
end
|
22
|
-
deprecated(:access_key_id, use: '#credentials', version: '3.75')
|
23
|
-
|
24
|
-
# @deprecated This method is subject to errors from a race condition when
|
25
|
-
# called against refreshable credential objects. This will be removed.
|
26
|
-
# @see #credentials
|
27
|
-
def secret_access_key
|
28
|
-
credentials ? credentials.secret_access_key : nil
|
29
|
-
end
|
30
|
-
deprecated(:secret_access_key, use: '#credentials', version: '3.75')
|
31
|
-
|
32
|
-
# @deprecated This method is subject to errors from a race condition when
|
33
|
-
# called against refreshable credential objects. This will be removed.
|
34
|
-
# @see #credentials
|
35
|
-
def session_token
|
36
|
-
credentials ? credentials.session_token : nil
|
37
|
-
end
|
38
|
-
deprecated(:session_token, use: '#credentials', version: '3.75')
|
39
|
-
|
40
12
|
end
|
41
13
|
end
|
@@ -11,7 +11,7 @@ module Aws
|
|
11
11
|
#
|
12
12
|
# @api private
|
13
13
|
# begin
|
14
|
-
SENSITIVE = [:access_token, :account_name, :account_password, :address, :admin_contact, :admin_password, :artifact_credentials, :auth_code, :authentication_token, :authorization_result, :backup_plan_tags, :backup_vault_tags, :base_32_string_seed, :block, :block_address, :body, :bot_configuration, :bot_email, :calling_name, :cause, :client_id, :client_secret, :comment, :configuration, :copy_source_sse_customer_key, :credentials, :current_password, :custom_attributes, :custom_private_key, :db_password, :default_phone_number, :definition, :description, :digest_tip_address, :display_name, :e164_phone_number, :email, :email_address, :email_message, :embed_url, :error, :feedback_token, :file, :first_name, :host_key, :id, :id_token, :input, :input_text, :ion_text, :key_id, :key_store_password, :kms_key_id, :kms_master_key_id, :lambda_function_arn, :last_name, :local_console_password, :master_account_email, :master_user_password, :message, :name, :new_password, :next_password, :notes, :number, :old_password, :outbound_events_https_endpoint, :output, :owner_information, :parameters, :passphrase, :password, :payload, :phone_number, :plaintext, :previous_password, :primary_email, :primary_provisioned_number, :private_key, :proof, :proposed_password, :public_key, :qr_code_png, :query, :random_password, :recovery_point_tags, :refresh_token, :registrant_contact, :request_attributes, :revision, :search_query, :secret_access_key, :secret_binary, :secret_code, :secret_hash, :secret_string, :secret_to_authenticate_initiator, :secret_to_authenticate_target, :security_token, :service_password, :session_attributes, :share_notes, :shared_secret, :slots, :sse_customer_key, :ssekms_encryption_context, :ssekms_key_id, :status_message, :tag_key_list, :tags, :task_parameters, :tech_contact, :temporary_password, :text, :token, :trust_password, :type, :upload_credentials, :upload_url, :uri, :user_email, :user_name, :user_password, :username, :value, :values, :variables, :vpn_psk, :zip_file]
|
14
|
+
SENSITIVE = [:access_token, :account_name, :account_password, :address, :admin_contact, :admin_password, :artifact_credentials, :auth_code, :authentication_token, :authorization_result, :backup_plan_tags, :backup_vault_tags, :base_32_string_seed, :block, :block_address, :body, :bot_configuration, :bot_email, :calling_name, :cause, :client_id, :client_request_token, :client_secret, :comment, :configuration, :copy_source_sse_customer_key, :credentials, :current_password, :custom_attributes, :custom_private_key, :db_password, :default_phone_number, :definition, :description, :digest_tip_address, :display_name, :e164_phone_number, :email, :email_address, :email_message, :embed_url, :error, :feedback_token, :file, :first_name, :full_name, :host_key, :id, :id_token, :input, :input_text, :ion_text, :key_id, :key_material, :key_store_password, :kms_key_id, :kms_master_key_id, :lambda_function_arn, :last_name, :local_console_password, :master_account_email, :master_user_password, :message, :name, :new_password, :next_password, :notes, :number, :old_password, :outbound_events_https_endpoint, :output, :owner_information, :parameters, :passphrase, :password, :payload, :phone_number, :plaintext, :previous_password, :primary_email, :primary_provisioned_number, :private_key, :proof, :proposed_password, :public_key, :qr_code_png, :query, :random_password, :recovery_point_tags, :refresh_token, :registrant_contact, :request_attributes, :revision, :search_query, :secret_access_key, :secret_binary, :secret_code, :secret_hash, :secret_string, :secret_to_authenticate_initiator, :secret_to_authenticate_target, :security_token, :service_password, :session_attributes, :session_token, :share_notes, :shared_secret, :slots, :sse_customer_key, :ssekms_encryption_context, :ssekms_key_id, :status_message, :tag_key_list, :tags, :target_address, :task_parameters, :tech_contact, :temporary_password, :text, :token, :trust_password, :type, :upload_credentials, :upload_url, :uri, :user_data, :user_email, :user_name, :user_password, :username, :value, :values, :variables, :vpn_psk, :zip_file]
|
15
15
|
# end
|
16
16
|
|
17
17
|
def initialize(options = {})
|
@@ -35,9 +35,14 @@ to test endpoints. This should be avalid HTTP(S) URI.
|
|
35
35
|
DOCS
|
36
36
|
endpoint_prefix = cfg.api.metadata['endpointPrefix']
|
37
37
|
if cfg.region && endpoint_prefix
|
38
|
-
|
38
|
+
if cfg.respond_to?(:sts_regional_endpoints)
|
39
|
+
sts_regional = cfg.sts_regional_endpoints
|
40
|
+
end
|
39
41
|
Aws::Partitions::EndpointProvider.resolve(
|
40
|
-
cfg.region,
|
42
|
+
cfg.region,
|
43
|
+
endpoint_prefix,
|
44
|
+
sts_regional
|
45
|
+
)
|
41
46
|
end
|
42
47
|
end
|
43
48
|
|
@@ -168,6 +168,21 @@ module Aws
|
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
|
+
def s3_us_east_1_regional_endpoint(opts = {})
|
172
|
+
p = opts[:profile] || @profile_name
|
173
|
+
if @config_enabled
|
174
|
+
if @parsed_credentials
|
175
|
+
mode = @parsed_credentials.fetch(p, {})["s3_us_east_1_regional_endpoint"]
|
176
|
+
end
|
177
|
+
if @parsed_config
|
178
|
+
mode ||= @parsed_config.fetch(p, {})["s3_us_east_1_regional_endpoint"]
|
179
|
+
end
|
180
|
+
mode
|
181
|
+
else
|
182
|
+
nil
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
171
186
|
def endpoint_discovery(opts = {})
|
172
187
|
p = opts[:profile] || @profile_name
|
173
188
|
if @config_enabled && @parsed_config
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.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.
|
4
|
+
version: 3.78.0
|
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: 2019-
|
11
|
+
date: 2019-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '1'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.
|
36
|
+
version: 1.239.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '1'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.
|
46
|
+
version: 1.239.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: aws-sigv4
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|