---
title: "Complete Redshift AWS SSO login"
method: POST
path: "/api/v1/user/warehouseCredentials/redshift/aws-sso/complete"
tags: ["My Account"]
---

# Complete Redshift AWS SSO login

`POST /api/v1/user/warehouseCredentials/redshift/aws-sso/complete`

Complete Redshift AWS SSO login

## Request body

- RedshiftAwsSsoCompleteRequest
  - `databaseUser` string
  - `credentialsName` string
  - `projectName` string
  - `projectUuid` string
  - `roleName` string
  - `accountId` string

## Response `200`

Ok

- RedshiftAwsSsoCompleteResponse
  - `results` union, required
    - object
      - `status` 'pending', required
    - object
      - `credentials` UserWarehouseCredentials, required
        - `project` UserWarehouseCredentialsProject, required
          - `type` 'DEFAULT' | 'PREVIEW', required
          - `name` string, required
          - `projectUuid` string, required
        - `credentials` union, required
          - PickCreateRedshiftCredentialsTypeOrUserOrAuthenticationTypeOrAssumeRoleArn — From T, pick a set of properties whose keys are in the union K
            - `type` 'redshift', required
            - `user` string, required
            - `authenticationType` 'password' | 'iam' | 'iam_browser'
            - `assumeRoleArn` string
          - PickCreatePostgresCredentialsOrCreateSnowflakeCredentialsOrCreateTrinoCredentialsOrCreateClickhouseCredentialsTypeOrUser — From T, pick a set of properties whose keys are in the union K
            - `type` union, required
              - …
            - `user` string, required
          - PickCreateBigqueryCredentialsType — From T, pick a set of properties whose keys are in the union K
            - `type` 'bigquery', required
          - PickCreateDatabricksCredentialsType — From T, pick a set of properties whose keys are in the union K
            - `type` 'databricks', required
          - PickCreateAthenaCredentialsType — From T, pick a set of properties whose keys are in the union K
            - `type` 'athena', required
          - PickCreateDuckdbCredentialsType — From T, pick a set of properties whose keys are in the union K
            - `type` 'duckdb', required
        - `updatedAt` string, date-time, required
        - `createdAt` string, date-time, required
        - `name` string, required
        - `userUuid` string, required
        - `uuid` string, required
      - `status` 'authenticated', required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.net/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/versions/40c933755c9a/schema)
