Replies: 2 comments
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Aws::Auth::AWSCredentials cred(ak, sk);
ClientConfiguration clientConfig;
clientConfig.endpointOverride = endPoint;
clientConfig.scheme = Http::Scheme::HTTP;
clientConfig.verifySSL = false;
auto encryptionMaterials = Aws::MakeSharedAws::S3Encryption::Materials::SimpleEncryptionMaterials(
"S3EncryptionClient", key);
CryptoConfiguration cryptoConfiguration(StorageMethod::METADATA, CryptoMode::ENCRYPTION_ONLY);
s3EncryptionClient = Aws::MakeSharedAws::S3Encryption::S3EncryptionClient(
"S3EncryptionClient",
encryptionMaterials,
cryptoConfiguration,
cred,
clientConfig
);
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.
All reactions