Skip to content

Conversation

@adamrefaey
Copy link
Collaborator

Change

Refactor IAM policy to allow access to Perplexity API key with wildcard for Secrets Manager

Does this PR introduce a breaking change?

{...}

What needs to be documented once your changes are merged?

{...}

Additional Comments

{...}

@adamrefaey adamrefaey requested review from GuidoBR and Copilot April 24, 2025 17:38
@adamrefaey adamrefaey self-assigned this Apr 24, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the IAM policy to allow access to the Perplexity API key by using a wildcard pattern in the secret ARN. Key changes include:

  • Removal of an IAM policy statement for the "medical-reports-explainer" secret.
  • Updating the task role policy to use a wildcard with the "med-ai-perplexity-key" secret ARN.

@GuidoBR GuidoBR merged commit 0395275 into main Apr 24, 2025
1 check passed
@adamrefaey adamrefaey deleted the NO-TICKET-FIX-ROLE-SECRETS-PERPLEXITY branch April 24, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants