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

User

    User represents a Pulumi user. This structure contains the full, private information that will be used only for an authenticated user. As a result, sensitive information (like email) is permitted.

    Properties

    • id string required
      The unique identifier of the user.
    • githubLogin string required
      The user’s login name (originally from GitHub).
    • name string required
      The user’s display name.
    • email string required
      The user’s email address.
    • avatarUrl string required
      The URL of the user’s avatar image.
    • organizations array[OrganizationSummaryWithRole] required
      Organizations is the list of Pulumi organizations the user is a member of.
    • ↳ name string required
      The name of the organization.
    • ↳ role enum required
      The role of the user within this organization.
      Values:
      none — None
      OrganizationRoleNone describes the role of non-members.
      member — Member
      OrganizationRoleMember is the role for regular members.
      admin — Admin
      OrganizationRoleAdmin is the role for admins.
      potential-member — PotentialMember
      OrganizationRolePotentialMember is the role for users who are explicitly not a member of the organization, but are a member of the backing org on the 3rd party identity provider. (i.e. they could join the org.)
      stack-collaborator — StackCollaborator
      OrganizationRoleStackCollaborator is the role for users who are not a member of an organization, but have been explicitly granted access to some of the organization’s stacks. So they have limited permissions to access the org’s data.
      billing-manager — BillingManager
      OrganizationRoleBillingManager is the role for billing admins.
      reader — Reader
      OrganizationRoleReader is the name of the Reader role. It is accepted as input when adding or updating a member in an organization with a default role, and is never returned as a member’s role.
      builder — Builder
      OrganizationRoleBuilder is the name of the Builder role. It is accepted as input when adding or updating a member in an organization with a default role, and is never returned as a member’s role.
      maintainer — Maintainer
      OrganizationRoleMaintainer is the name of the Maintainer role. It is accepted as input when adding or updating a member in an organization with a default role, and is never returned as a member’s role.
    • ↳ githubLogin string required
      The GitHub login associated with the organization.
    • ↳ avatarUrl string required
      The URL of the organization’s avatar image.
    • ↳ email string optional
      The user’s email address. It is only populated on selected endpoints and is omitted from most responses. Treat it as sensitive information.
    • potentialOrganizations array[OrganizationSummaryWithRole] optional
      PotentialOrganizations is the list of Pulumi organizations the user is a potential member of.
    • ↳ name string required
      The name of the organization.
    • ↳ role enum required
      The role of the user within this organization.
      Values:
      none — None
      OrganizationRoleNone describes the role of non-members.
      member — Member
      OrganizationRoleMember is the role for regular members.
      admin — Admin
      OrganizationRoleAdmin is the role for admins.
      potential-member — PotentialMember
      OrganizationRolePotentialMember is the role for users who are explicitly not a member of the organization, but are a member of the backing org on the 3rd party identity provider. (i.e. they could join the org.)
      stack-collaborator — StackCollaborator
      OrganizationRoleStackCollaborator is the role for users who are not a member of an organization, but have been explicitly granted access to some of the organization’s stacks. So they have limited permissions to access the org’s data.
      billing-manager — BillingManager
      OrganizationRoleBillingManager is the role for billing admins.
      reader — Reader
      OrganizationRoleReader is the name of the Reader role. It is accepted as input when adding or updating a member in an organization with a default role, and is never returned as a member’s role.
      builder — Builder
      OrganizationRoleBuilder is the name of the Builder role. It is accepted as input when adding or updating a member in an organization with a default role, and is never returned as a member’s role.
      maintainer — Maintainer
      OrganizationRoleMaintainer is the name of the Maintainer role. It is accepted as input when adding or updating a member in an organization with a default role, and is never returned as a member’s role.
    • ↳ githubLogin string required
      The GitHub login associated with the organization.
    • ↳ avatarUrl string required
      The URL of the organization’s avatar image.
    • ↳ email string optional
      The user’s email address. It is only populated on selected endpoints and is omitted from most responses. Treat it as sensitive information.
    • identities array[string] required
      Identities is the array of identities a Pulumi user’s account is tied to.
    • siteAdmin boolean optional
      SiteAdministrator is whether or not the user is a site administrator.
    • registryAdmin boolean optional
      RegistryAdmin is whether or not the user is a registry administrator.
    • tokenInfo TokenInfo optional
      Describes the organization, team or service principal token the request was made with, in display names. Absent for personal access tokens and console sessions.
    • ↳ 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.
    • hasMFA boolean required
      Whether the user has multi-factor authentication enabled.
    • isOrgManaged boolean required
      Whether the user’s account is managed by an organization.
    • isManagedByMultiOrg boolean required
      Whether the user’s account is managed by multiple organizations.
    • isAgent boolean optional
      Whether the user is a synthetic agent account. Agent accounts cannot be authenticated except via their issued access token until a human claims the account via the claim URL.

      The infrastructure platform for humans and agents.