Skip to main content

astroctl organization service-account archive

Archive a service account and disable all of its keys

Synopsis​

Archive a service account. The account and every API key issued to it stop working permanently; this cannot be undone. The record stays in the list, marked archived.

Terminal
astroctl organization service-account archive <account> [flags]

Examples​

Terminal

# Archive (asks first; --yes skips the question)
astroctl org service-account archive ci

# Archive without asking, as in a script
astroctl org service-account archive ci --yes

Options​

Terminal
-h, --help help for archive
-o, --output string Output format (table|wide|json|yaml) (default "table")
-y, --yes Archive without asking

SEE ALSO​