How to specify --endpoint-url and --no verify-ssl #2616
-
How do I specify the cli equivalent of --endpoint-url and --no verify-ssl ? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@dotnetwizard Good afternoon. All service clients (e.g. Thanks, |
Beta Was this translation helpful? Give feedback.
@dotnetwizard Good afternoon. All service clients (e.g.
AmazonS3Client
) support an overloaded constructor that allow you to pass service specificClientConfig
object (e.g.AmazonS3ClientConfig
). The base class ClientConfig supportsServiceURL
property which maps to CLI's--endpoint-url
. The--no-verify-ssl
option in AWS CLI bypasses (overrides) the default behavior of verifying SSL certificates. Unfortunately, per #686 (comment), AWS SDK for .NET does not support server side SSL validation.Thanks,
Ashish