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

TokenInfo

    TokenInfo describes the machine access token (an organization, team or service principal token) a request was made with. Its organization, team and service principal values are display names, meant for showing to people; they are not identifiers, so do not use them in API paths or stack references.

    Properties

    • name string required
      The name of the access token.
    • organization string required
      The display name of the organization the token belongs to, meant for showing to people and not an identifier to use in API paths or stack references. Set for organization, team and service principal tokens.
    • team string required
      The display name of the team the token belongs to, meant for showing to people and not an identifier to use in API paths. Set only for team tokens; null otherwise.
    • servicePrincipal string required
      The display name of the service principal the token belongs to, meant for showing to people and not an identifier to use in API paths. Set only for service principal tokens; null otherwise.

      The infrastructure platform for humans and agents.