Updates a service account key
Updates a service account key. You can temporarily activate or deactivate the key and/or update its date of expiration.
stackit service-account key update KEY_ID [flags]
Temporarily deactivate a key with ID "xxx" of the service account with email "my-service-account-1234567@sa.stackit.cloud"
$ stackit service-account key update xxx --email my-service-account-1234567@sa.stackit.cloud --deactivate
Activate a key of the service account with email "my-service-account-1234567@sa.stackit.cloud"
$ stackit service-account key update xxx --email my-service-account-1234567@sa.stackit.cloud --activate
Update the expiration date of a key of the service account with email "my-service-account-1234567@sa.stackit.cloud"
$ stackit service-account key update xxx --email my-service-account-1234567@sa.stackit.cloud --expires-in-days 30
--activate If set, activates the service account key
--deactivate If set, temporarily deactivates the service account key
-e, --email string Service account email
--expires-in-days int Number of days until expiration
-h, --help Help for "stackit service-account key update"
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
- stackit service-account key - Provides functionality for service account keys