Skip to main content

astroctl cloud aws credentials

Get temporary AWS credentials

Synopsis​

Get temporary AWS credentials for debugging and verification.

These credentials can be used with AWS CLI or SDK.

astroctl cloud aws credentials [flags]

Examples​

# Get temporary credentials for a cluster
astroctl cloud aws credentials --cluster-name prod

# Get credentials as export statements
astroctl cloud aws credentials --cluster-name prod --export

Options​

--account-id string AWS account ID (auto-detected from cluster)
--cluster-name string The name of the cluster (required)
--duration string Credential duration (e.g., 30m, 1h) (default "1h")
--export Print credentials as export statements
-h, --help help for credentials
--region string AWS region (auto-detected from cluster)

Options inherited from parent commands​

-o, --output string Output format (json|yaml) (default "yaml")

SEE ALSO​