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.

Terminal
astroctl cloud aws credentials [flags]

Examples​

Terminal
# 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​

Terminal
--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​

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

SEE ALSO​