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

CreateServicePrincipalTokenRequest

    The request body for creating an access token that authenticates as a user-defined service principal.

    Properties

    • name string required
      The name of the token, unique among the service principal’s tokens, including deleted ones. At most 40 characters.
    • description string required
      What the token is for. May be empty; at most 255 characters.
    • expires string optional
      When the token expires: a time in the future, at most two years from now. Without it, the token does not expire, unless the organization sets a maximum token lifetime: then it is required and must fall within that limit.

      The infrastructure platform for humans and agents.