-
Aws::Auth::AWSCredentials cred(ak, sk); ClientConfiguration clientConfig; auto encryptionMaterials = Aws::MakeSharedAws::S3Encryption::Materials::SimpleEncryptionMaterials( s3EncryptionClient = Aws::MakeSharedAws::S3Encryption::S3EncryptionClient( When using the above S3EncryptionClient to PutObject, an error occurred: curlCode: 6, Couldn't resolve host name, This may require setting useVirtualAddressing=false, but the implementation of the setting cannot be found. How to solve it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
what is
that is on the S3ClientConfiguration configuration object which is not currently able to be passed to the encryption client. will work on exposing that. That said this is likely not your problem however since you override the endpoint, if you override the endpoint, virtual addressing is not relevant, likely what host name are using is unresolvable. |
Beta Was this translation helpful? Give feedback.
that is now merged and you should be able to do something like this on the latest version.