For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Amazon Redshift

Create a Depot resource for Amazon Redshift connections.

Pre-requisites specific to the Redshift Depot

To create a Redshift Depot, you must have the following details:

Pre-requisites specific to DataOS

A user with the Tenant Admin, Data Admin, or Data Developer Tenant role can create a Depot.

See Depot: Access control for who can create a Depot and how access to it is managed.

Run this command to see your assigned roles.

dataos-ctl user get
#Expected Output: 
time="2026-03-30T17:49:18+05:30" level=info msg="😃 user get..."
time="2026-03-30T17:49:19+05:30" level=info msg="😃 user get...complete"

     NAME     │        ID         │  TYPE  │        EMAIL         │                  TAGS
──────────────┼───────────────────┼────────┼──────────────────────┼────────────────────────────────────────
 I Am Groot   │ iamgroottmdcio    │ person │ iam.groot@tmdc.io    │ roles:id:ct-onboarding-data-developer,
              │                   │        │                      │ roles:id:user,
              │                   │        │                      │ users:id:iamgroottmdcio

Pre-requisites specific to the source system

  • Hostname: The hostname or endpoint of the Redshift cluster, which specifies the server address to connect to. You can obtain this from the AWS Management Console under the Redshift cluster details or ask the administrator managing the cluster.

  • Port: The port number on which the Redshift cluster is listening. The default port for Redshift is 5439, but it may differ based on your setup. Check the cluster details in the AWS Management Console or consult your database administrator.

  • Database name: The name of the specific database within the Redshift cluster you want to connect to. This can be found in the AWS Management Console or provided by the database administrator.

  • Username and password: The credentials used to authenticate and access the Redshift database. These are set up when the user account is created and must be securely obtained from the Redshift administrator.

Accessing the Redshift database in Workflows or other DataOS Resources requires additional details:

  • Bucket name: The name of the S3 bucket where the data resides. You can find this in the AWS S3 Console or consult the administrator managing the data storage.

  • Relative path: The path within the S3 bucket pointing to the data you want to access. This path is typically structured based on your data organization and can be obtained from the team managing the data or the S3 Console.

  • AWS access key: The Access Key ID used to authenticate and authorize API requests to AWS. You can obtain this from the AWS IAM (Identity and Access Management) Console under your user’s security credentials or request it from your AWS administrator.

  • AWS Secret Key: The Secret Access Key associated with your AWS Access Key ID. This key is also available in the AWS IAM Console under security credentials and must be securely stored. If you do not have access, request it from your AWS administrator.

Create a Redshift Depot

A Depot of type redshift connects to an Amazon Redshift database. A manifest template is provided below. To create a Depot of type redshift, follow these steps:

Step 1: Create a Secret for securing Redshift credentials

Create a Secret Resource using the Redshift guide.

Step 2: Create a Redshift Depot manifest file

Create a manifest file for the Redshift Depot.

For more information about each attribute, refer to the configurations section.

Step 3: Apply the Depot manifest file

Apply the manifest with the DataOS CLI:

Verify the Depot creation

Verify the Depot in two ways:

  • List Depots where you are the owner:

  • List all Depots in the current Tenant:

Delete a Depot

To delete a Depot, use the DataOS CLI:

Specify the Resource type and Depot name in the delete command.

Example:

Last updated

Was this helpful?