How to grant users read only permission to Athena

0

My understanding is that the IAM action "athena:StartQueryExecution" is required to permit SQL queries to be run in Athena. However, it's still possible to perform INSERT INTO statements.

Is there a way to restrict access to Athena and only allow read-only queries?

AWS
Kyle_T
gefragt vor 4 Jahren4600 Aufrufe
1 Antwort
0
Akzeptierte Antwort

Yes, it's possible if you use Lake Formation to grant access to your Athena users or roles. When you grant access to tables, just grant as SELECT only access previlages.

https://docs.aws.amazon.com/lake-formation/latest/dg/access-control-fine-grained.html

AWS
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen