Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. CreateServicePrincipalRequest

CreateServicePrincipalRequest

    The request body for creating a user-defined service principal.

    Properties

    • name string required
      The display name of the service principal, unique (ignoring case) among the organization’s user-defined service principals. 1 to 255 characters: ASCII letters, digits, spaces, hyphens, underscores and periods, starting with an ASCII letter or digit.
    • roleIds array[string] optional
      The IDs of the organization-wide roles the service principal holds, if any. On plans with custom roles, any number of custom roles and the built-in Admin, Maintainer, Builder and Reader roles; on other plans, at most one of the built-in Reader (read), Maintainer (write) or Admin roles. A service principal gets its access only from these roles and its entity access, never from the organization’s default role: without roles, it can do only what its entity access allows.

      The infrastructure platform for humans and agents.