File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/logstash/outputs/opensearch/http_client Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ def get_auth_type(options)
6565 def aws_iam_auth_initialization ( options )
6666 aws_access_key_id = options [ :auth_type ] [ "aws_access_key_id" ] || nil
6767 aws_secret_access_key = options [ :auth_type ] [ "aws_secret_access_key" ] || nil
68- session_token = options [ :session_token ] || nil
69- profile = options [ :profile ] || AWS_DEFAULT_PROFILE
70- instance_cred_retries = options [ :instance_profile_credentials_retries ] || 0
71- instance_cred_timeout = options [ :instance_profile_credentials_timeout ] || 1
68+ session_token = options [ :auth_type ] [ " session_token" ] || nil
69+ profile = options [ :auth_type ] [ " profile" ] || AWS_DEFAULT_PROFILE
70+ instance_cred_retries = options [ :auth_type ] [ " instance_profile_credentials_retries" ] || 0
71+ instance_cred_timeout = options [ :auth_type ] [ " instance_profile_credentials_timeout" ] || 1
7272 region = options [ :auth_type ] [ "region" ] || AWS_DEFAULT_REGION
7373 set_aws_region ( region )
7474
You can’t perform that action at this time.
0 commit comments