---
title: "Get Aws Assume Role Access"
method: GET
path: "/workspaces/{workspace_id}/secrets/aws-assume-role"
tags: ["secrets"]
---

# Get Aws Assume Role Access

`GET /workspaces/{workspace_id}/secrets/aws-assume-role`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/workspaces/{workspace_id}/secrets/aws-assume-role`
- Auth: one of:
  - API key in cookie `fastapiusersauth`
  - HTTP bearer

Get workspace-scoped AWS AssumeRole details for credential setup.

## Path parameters

- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- AwsAssumeRoleAccessRead: Workspace-scoped AWS AssumeRole details shown in the credentials UI.
  - `tracecat_aws_account_id` string, required
  - `tracecat_aws_principal_arn` string, required
  - `external_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
