ByCloud Docs
GuidesCLIAPISDK

Create service account

bycloud iam service-accounts --name <name> [flags]

Create a new service account in the organization

Options

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Body Options

--name

stringrequired

--description

stringoptional

--display_name

stringoptional

Command

bycloud iam service-accounts \
--name "my-resource"

Output

ID 550e8400-e29b-41d4-a716-446655440000
CRN crn::iam:service-account:550e8400-e29b-41d4-a716-446655440000
NAME ci-cd-pipeline
DISPLAY_NAME CI/CD Pipeline
DESCRIPTION Service account for automated deployments
ENABLED true
ROLES
[0]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
[1]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
GROUPS
[0]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
[1]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
CREATED_AT 2024-01-15T10:30:00Z
UPDATED_AT 2024-01-15T10:30:00Z