astroctl cloud gcp selfHosted disconnect
Delete the stored credentials from AstroPulse's encrypted vault
Synopsis
Delete AstroPulse's stored copy of a cluster's GCP service account key. No cloud infrastructure is deleted (service account, GCS bucket, etc.).
The key does not expire and stays valid in Google Cloud after this: delete it there, or run 'cleanup' to delete the service account and everything setup made. To rotate the key, use 'connect --replace' instead.
Terminal
astroctl cloud gcp selfHosted disconnect [flags]
Examples
Terminal
# Delete the stored key
astroctl cloud gcp selfHosted disconnect --cluster-name prod
# Rotate the key instead: send a new key in place of the stored one
astroctl cloud gcp selfHosted connect --project-id my-proj --region us-central1 \
--credentials /path/to/new-key.json --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
- astroctl cloud gcp selfHosted - Self-hosted cluster prerequisite management