Using s3 with FIPS compliant endpoints #2706
-
With boto, you can use FIPS compliant endpoints as shown below. What isn't clear is how to achieve this same effect with the ruby sdk. s3 = boto3.client(
's3',
endpoint_url="https://s3-fips.us-west-1.amazonaws.com",
config=Config(s3={'addressing_style': 'virtual'})
) Is this the correct way with ruby to achieve the same effect? s3 = Aws::S3::Client.new({
:endpoint => "https://s3-fips.us-west-1.amazonaws.com",
:force_path_style => true,
}) |
Beta Was this translation helpful? Give feedback.
Answered by
alextwoods
Jun 2, 2022
Replies: 2 comments 5 replies
-
You can set the
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
rezen
-
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
You can set the
use_fips_endpoint
option when creating the client (see documentation at: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#initialize-instance_method), eg: