Permissions and Grants
Set up Redshift roles, grants, and DataOS access for Vulcan.
This is the authorize stage. Complete it before configuring a gateway or writing models.
Redshift-side permissions and grants
Provision access before configuring a gateway. Three roles are required, each with a distinct scope. Do not collapse them into one.
Admin role
AWS / warehouse admin
Provisions the cluster, creates databases/schemas, WLM, Spectrum IAM roles
Vulcan service role
DB user Vulcan uses via the depot
CREATE / INSERT / DELETE / MERGE on target schemas; read sources
Consumer role
BI users, endpoint consumers
SELECT on published schemas/tables only
Run minimum grants as admin on the cluster:
-- Target schemas (adjust names to your project; reference fixture uses bronzev2 / silverv2 / goldv2)
CREATE SCHEMA IF NOT EXISTS bronzev2;
CREATE SCHEMA IF NOT EXISTS silverv2;
CREATE SCHEMA IF NOT EXISTS goldv2;
GRANT USAGE ON SCHEMA bronzev2, silverv2, goldv2 TO vulcan_etl;
GRANT CREATE ON SCHEMA bronzev2, silverv2, goldv2 TO vulcan_etl;
GRANT ALL ON ALL TABLES IN SCHEMA bronzev2 TO vulcan_etl;
GRANT ALL ON ALL TABLES IN SCHEMA silverv2 TO vulcan_etl;
GRANT ALL ON ALL TABLES IN SCHEMA goldv2 TO vulcan_etl;
-- Source / public staging (example)
GRANT USAGE ON SCHEMA public TO vulcan_etl;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO vulcan_etl;Consumer role (read-only):
Verify:
DataOS permissions
Tenant Access
Build and manage Data Products in the tenant
DataOS operator / admin
roles:id:data-dev (or your tenant's equivalent)
Create and apply Vulcan resources
DataOS operator / admin
Can Use on the target Compute
Run the Vulcan workload
DataOS operator
Can Use on the Redshift Depot
Use the configured Redshift connection
DataOS operator
depot:rw:<redshift-depot-name>
Read/write depot for the Vulcan workflow
DataOS operator
depot:r:<redshift-depot-name>
Read-only depot (consumer / scan)
DataOS operator
Can Use on required Secrets
Resolve Redshift credentials and runtime configuration
DataOS operator
Can Use on the git-sync Secret
Read repository credentials for model-code sync
DataOS operator / VCS admin
Verify the data-developer tag with dataos-ctl user get. Confirm roles:id:data-dev, or its tenant equivalent, appears in the TAGS column.
Verify the Redshift Depot with dataos-ctl get -t depot. Confirm it appears and that you can use it. The production pattern uses spec.depots on the Vulcan resource pointing at dataos://<depot-name>?purpose=rw.
Typical secret keys: REDSHIFT_HOST, REDSHIFT_PORT, REDSHIFT_DATABASE, REDSHIFT_USER, REDSHIFT_PASSWORD (bound to depot purpose: rw / query / scan).
Before you connect checklist
Next step
After access is ready, configure the gateway in Connect to Redshift.
Last updated
Was this helpful?