Skip to main content

astroctl cloud gcp selfHosted disconnect

Revoke stored credentials from the platform vault

Synopsis​

Remove stored GCP credentials from the platform vault without deleting any cloud infrastructure (service account, GCS 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 service account or GCS bucket. To delete everything including infrastructure, use 'cleanup' instead.

astroctl cloud gcp selfHosted disconnect [flags]

Examples​

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

# Then reconnect with new credentials
astroctl cloud gcp selfHosted connect --project-id my-proj --region us-central1 \
--credentials /path/to/new-key.json --bucket my-bucket --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​