Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions airflow/providers/amazon/aws/secrets/secrets_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,9 @@ def _get_secret(self, path_prefix, secret_id: str) -> Optional[str]:
secret_id,
)
return None
except self.client.exceptions.AccessDeniedException:
self.log.debug(
"An error occurred (AccessDeniedException) when calling the get_secret_value operation",
exc_info=True,
)
return None