Skip to main content

astroctl cloud aws selfHosted disconnect

Delete the stored credentials from AstroPulse's encrypted vault

Synopsis​

Delete AstroPulse's stored copy of a cluster's AWS access keys. No cloud infrastructure is deleted (CloudFormation stack, IAM user, S3 bucket, etc.).

The access key does not expire and stays active in your AWS account after this: delete it in IAM, or run 'cleanup' to delete the stack and everything it made. To rotate the key, use 'connect --replace' instead.

Terminal
astroctl cloud aws selfHosted disconnect [flags]

Examples​

Terminal
# Delete the stored keys
astroctl cloud aws selfHosted disconnect --cluster-name prod

# Rotate the key instead: send the stack's new key in place of the stored one
astroctl cloud aws selfHosted connect --account-id 123456789012 --region us-west-2 \
--from-stack prod-0a1b2c3d-astro-selfhosted --cluster-name prod --replace

Options​

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

Options inherited from parent commands​

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

SEE ALSO​