Skip to main content

astroctl organization service-account update

Change a service account's name, role or description

Synopsis​

Change a service account's name, role or description. Fields you do not pass keep their current value. Changing the role applies to the account's existing keys.

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

Examples​

Terminal

# Narrow a role
astroctl org service-account update ci --role Viewer

# Rename
astroctl org service-account update ci --name release-ci

Options​

Terminal
--description string New description
-h, --help help for update
--name string New name
-o, --output string Output format (table|wide|json|yaml) (default "table")
--role string New role: Viewer, Editor or Admin

SEE ALSO​