Skip to main content

dataspine sts exchange-aws-token

Exchange an AWS SigV4-signed identity token for a Dataspine access token.

Usage

dataspine sts exchange-aws-token [OPTIONS] <PRINCIPAL_ID>

Arguments

  • <PRINCIPAL_ID>: The Dataspine principal UUID to use for the exchange.

Options

  • -a, --application <APPLICATION>: Optional application UUID to scope the exchange.

Notes

This command uses the standard AWS credential resolution chain (environment variables, config files, IAM roles, etc.) to sign a request and perform the exchange.

Examples

Exchange using your current AWS credentials:

dataspine sts exchange-aws-token 00000000-0000-0000-0000-000000000000