Swift / iOS 16.4 / simulator and device / AWS_AUTH_CREDENTIALS_PROVIDER_IMDS_SOURCE_FAILURE #5013
Labels
closing soon
pending-community-response
Issue is pending response from the issue requestor
question
General question
s3
Issues related to S3
storage
State your question
What is the proper way to define the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY_ID for iOS Swift?
I have put it in environments and plist with no luck. Confirmed that it is working with aws command line config / list buckets
can not find docs on how exactly to do this for iOS Swift.
Call to
client = try S3Client(region: "us-east-2")
has error
Error info: crtError(AwsCommonRuntimeKit.CRTError(code: 6153, message: "Valid credentials could not be sourced by the IMDS provider", name: "AWS_AUTH_CREDENTIALS_PROVIDER_IMDS_SOURCE_FAILURE"))
Which AWS Services are you utilizing?
AWS SDK for iOS SWIFT
Provide code snippets (if applicable)
Environment(please complete the following information):
Device Information (please complete the following information):
If you need help with understanding how to implement something in particular then we suggest that you first look into our developer guide. You can also simplify your process of creating an application, as well as the associated backend setup by using the Amplify CLI.
The text was updated successfully, but these errors were encountered: