Hello Team,
Is it possible to configure or change the medata service or sts service endpoint when creating s3 snapshot with InstanceProfileCredentialsProvider authentication method.
I have tried with setting the env but by default connecting to some aws ip
AWS_WEB_IDENTITY_TOKEN_FILE=http://localhost//v1/metadata
snapshot creation api
_snapshot/bel -d'{
"type": "s3",
"settings": {
"endpoint": "endpoint",
"bucket": "elasticsearch-snapshots",
"region": "us-iad-5",
"base_path": "elasticsearch/folder",
"path_style_access": true
}
}'
Error from elasticsearch
Caused by: com.amazonaws.SdkClientException: The requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security-credentials/