Skip to main content

Retrieves AWS external id and account id

GET 

/v1/clouds/aws/account/sts

Retrieves AWS external id and account id

Request

Query Parameters

    partition string

    Possible values: [aws, aws-us-gov]

    Default value: aws

    AWS accounts are scoped to a single partition. Allowed values [aws, aws-us-gov], Default values

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Responses

(empty)

Schema

    accountIdstring

    A 12-digit number, such as 123456789012, that uniquely identifies an AWS account

    externalIdstring

    It can be passed to the AssumeRole API of the STS. It can be used in the condition element in a role's trust policy, allowing the role to be assumed only when a certain value is present in the external ID

    partitionstring

    Possible values: [aws, aws-us-gov]

    Default value: aws

    AWS accounts are scoped to a single partition. Allowed values [aws, aws-us-gov], Default values

Loading...