Permissions and grants
Configure required Athena IAM roles, permissions, and DataOS access for Vulcan deployments.
This is the authorize stage. Complete it before configuring a gateway or writing models.
Athena-side permissions
Three roles are required, each with a distinct scope. Do not collapse them into one. On Athena, access is enforced through AWS IAM (and optionally Lake Formation), not SQL GRANT statements.
Admin role
AWS / data platform admin
Creates S3 buckets, Glue databases, workgroups, IAM policies
Vulcan service role
IAM user or role whose keys Vulcan uses
Runs Athena queries; creates Glue tables/schemas; reads/writes S3 warehouse and staging
Consumer role
BI users, endpoint consumers
Read-only Athena + Glue + S3 for Data Product outputs
Minimum IAM capabilities for the Vulcan service principal
Tighten ARNs to your account.
Athena
athena:StartQueryExecution, athena:GetQueryExecution, athena:GetQueryResults, athena:StopQueryExecution, athena:GetWorkGroup
Glue
glue:GetDatabase, glue:GetDatabases, glue:CreateDatabase, glue:GetTable, glue:GetTables, glue:CreateTable, glue:UpdateTable, glue:DeleteTable (as needed)
S3 staging
s3:GetObject, s3:PutObject, s3:ListBucket on the ATHENA_S3_STAGING_DIR bucket/prefix
S3 warehouse
Same actions on the ATHENA_S3_WAREHOUSE_LOCATION prefix (model data, external table locations)
Consumer role: read-only pattern
glue:Get*on target databases/tablesathena:StartQueryExecutionplus results read, optionally on a separate consumer workgroups3:GetObject/ListBucketon published dataset prefixes only
Verify access from the Athena query editor or CLI, in the same workgroup as your config:
DataOS permissions
Provision these permissions before you create and deploy an Athena Data Product:
Tenant access
Build and manage Data Products in your tenant.
Tenant admin
roles:id:data-dev (or your tenant's equivalent)
Create and apply Vulcan resources. Confirm your role with dataos-ctl user get.
Tenant admin
Can Use on compute, and Secrets
Use the assigned resource. Resource access is deny-by-default.
Resource owner or admin
Instance secret
Project AWS credentials and Athena settings into the Vulcan resource.
Secret owner or admin
git-sync Secret
Pull model code from Git. Request a git-sync Secret instead of raw credentials.
Tenant, data, or Secret admin
vulcan-athena stack or approved compute
Run the Vulcan workflow and API on the Athena image.
DataOS operator
Production deploys typically project these env vars from an instance secret:
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_REGIONATHENA_WORK_GROUP,ATHENA_S3_STAGING_DIR,ATHENA_SCHEMA_NAME,ATHENA_CATALOG_NAME,ATHENA_S3_WAREHOUSE_LOCATION
Before you connect checklist
Next step
After access is ready, configure the gateway in Connect to Athena.
Last updated
Was this helpful?