How to use AWS IAM profile to active_storage?

Active storage using IAM profile similar to fog_aws use_iam_profile

We are migrating from carrier wave to Rails active_storage . Currently, we are using fog_aws with use_iam_profile. I am looking for similar approach to use IAM profile configuration to use with active_storage.
Rails Active Storage document mention we can use IAM instance profiles, and referred to AWS SDK documentation.

1 Like