You need to implement access control for a generative AI application calling Bedrock and external APIs. Which mechanism is best to use to enforce least-privilege permissions?

Answer

IAM role policies scoped to required actions and resources

Explanation

Least-privilege access is achieved by granting only required Bedrock and API permissions via IAM roles and policies. Avoid embedding credentials in client code.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list