Skip to main content

astroctl_cloud_aws_selfHosted_disconnect

astroctl cloud aws selfHosted disconnect

Revoke stored credentials from the platform vault

Synopsis

Remove stored AWS credentials from the platform vault without deleting any cloud infrastructure (IAM user, S3 bucket, etc.).

Use this when:

  • Rotating credentials: disconnect → connect with new keys
  • Revoking platform access without destroying infrastructure
  • Cleaning up after testing

This does NOT delete the CloudFormation stack or AWS resources. To delete everything including infrastructure, use 'cleanup' instead.

astroctl cloud aws selfHosted disconnect [flags]

Examples

# Revoke vault credentials
astroctl cloud aws selfHosted disconnect --cluster-name prod

# Then reconnect with new credentials
astroctl cloud aws selfHosted connect --region us-west-2 \
--bucket prod-state-store --cluster-name prod

Options

--cluster-name string Cluster name whose credentials to revoke (required)
-h, --help help for disconnect

Options inherited from parent commands

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

SEE ALSO