<@U088WCP3B4P> What are the required permissions/p...
# ask-elementary-ai
m
@kapa.ai What are the required permissions/policies for the AWS IAM role that allows to write information to the Elementary Catalog metadata tables when running dbt commands as run or test?
k
A message from kapa.ai
Based on the knowledge sources provided, I don't have specific information about AWS IAM role permissions required for Elementary Data. The sources primarily discuss database-level permissions rather than cloud provider IAM policies. For database permissions, Elementary requires: 1. The dbt package needs read and write access to the elementary schema where it creates and updates tables with test results, run results, and metadata [Security and Privacy](https://docs.elementary-data.com/cloud/general/security-and-privacy). 2. Elementary needs permissions to create and write to tables in both the main elementary schema and a secondary schema (typically named
<elementary_schema>__tests
) for temporary anomaly test results [Slack forum answer](https://slack.com/archives/C02CTC89LAX/p1664877330786749). 3. For Snowflake specifically, the required permissions include: - USAGE on the database and schemas - CREATE TABLE and CREATE VIEW on the schemas - SELECT, INSERT, UPDATE, DELETE on tables However, the knowledge sources don't contain specific information about AWS IAM role policies needed for Elementary Data. If you're implementing Elementary in AWS, you would need to ensure your IAM role has the appropriate permissions to allow the database-level operations mentioned above, but the exact IAM policy details aren't provided in the available sources.