> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prophecy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Redshift connection properties API

> Properties required to create and update Redshift connections

Properties for Amazon Redshift connections are specified in the `properties` object when creating or updating a connection. All properties are nested within the connection request body.

## Properties

**server** `string` *required*

Redshift cluster endpoint hostname or fully qualified domain name.

Example: `cluster-name.us-east-1.redshift.amazonaws.com`

**port** `string` *required*

Port number for the Redshift cluster connection.

Typically `5439` for Redshift database connections.

**username** `string` *required*

Username for authenticating to the Redshift cluster.

**password** `object` *required*

Reference to a Prophecy secret containing the Redshift password.

* When using the [create connection API](https://docs.prophecy.ai/api-reference/connections/add-connection-to-fabric.md), the secret must be stored in Prophecy before creating the connection.
* When using the [create fabric API](https://docs.prophecy.ai/api-reference/fabrics/create-a-new-fabric.md), replace this whole object with the string `{{SECRET}}`, which references the secret being created in parallel to the connection.

**password properties**

**password.kind** `string` *required*

Secret kind. Must be `prophecy` for Prophecy secrets.

**password.subKind** `string` *required*

Secret sub-type. Must be `text` for passwords.

**password.type** `string` *required*

Type of reference. Must be `secret`.

**password.properties** `object` *required*

Properties identifying the secret by ID and name.

**password.properties.id** `string` *required*

The ID of the secret stored in Prophecy.

Use the [list secrets](https://docs.prophecy.ai/api-reference/secrets/list-secrets-per-fabric.md) endpoint to find the secret ID.

**password.properties.name** `string` *required*

The name of the secret stored in Prophecy.

**database** `string` *required*

Name of the Redshift database to connect to.

**kgConfig** `object`

Knowledge graph configuration settings for the connection. See the [Knowledge graph
indexer](https://docs.prophecy.ai/api-reference/connections/properties/kgconfig.md) properties for more information.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.