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

UserPermission

    UserPermission describes a user’s permission level for a stack.

    Properties

    • user UserInfo required
      The user who has been granted access to the stack.
    • name string required
      The user’s display name.
    • githubLogin string required
      The user’s login name.
    • avatarUrl string required
      The URL of the user’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.
    • permission enum required
      The permission level the user has on the stack (e.g., read, write, admin).
      Values:
      0 — None
      StackPermissionNone provides no access.
      101 — Read
      StackPermissionRead provides read-only access, including the ability to decrypt encrypted configuration secrets stored in the service.
      102 — Write
      StackPermissionWrite provides read/write access to a stack.
      103 — Admin
      StackPermissionAdmin provides admin-level access to the stack. For example, being able to run pulumi destroy or delete the stack.
      104 — Creator
      StackPermissionCreator identifies the user who created the stack. It confers the same access as StackPermissionAdmin.

      The infrastructure as code platform for any cloud.