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

# getAwsExternalId

> Get AWS external ID



**query** `getAwsExternalId: GetAwsExternalIdResult!`

## Returns

`GetAwsExternalIdResult!`

**`externalId`**: `String!`

Generated external ID for AWS IAM role trust relationship

## Examples

```graphql Query
query GetAwsExternalId {
  getAwsExternalId {
    externalId
  }
}
```

```json Response
{
  "data": {
    "getAwsExternalId": {
      "externalId": "string"
    }
  }
}
```


## Related topics

- [GetAwsExternalIdResult](https://docs.stigg.io/graphql-reference/types/GetAwsExternalIdResult.md)
- [Get a single invoice by ID](https://docs.stigg.io/api-reference/invoices/get-a-single-invoice-by-id.md)
- [Get a list of invoices](https://docs.stigg.io/api-reference/invoices/get-a-list-of-invoices.md)
- [Get a single contract by ID](https://docs.stigg.io/api-reference/contracts/get-a-single-contract-by-id.md)
- [Get a list of contracts](https://docs.stigg.io/api-reference/contracts/get-a-list-of-contracts.md)


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