Attach a service account to a server
Attach a service account to a server
stackit server service-account attach SERVICE_ACCOUNT_EMAIL [flags]
Attach a service account with mail "xxx@sa.stackit.cloud" to a server with ID "yyy"
$ stackit server service-account attach xxx@sa.stackit.cloud --server-id yyy
-h, --help Help for "stackit server service-account attach"
-s, --server-id string Server ID
-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 server service-account - Allows attaching/detaching service accounts to servers