Skip to main content

Object: User

What is this object and why do I care about it?

The User object represents a real person who can log in to the Pyrae UI.

Users can become a member of a Team when a Team Membership Rule matches the user. Users may be in multiple teams.

Almost all attributes of the user are optional. Strictly, the optional fields can all be omitted.

Fields only provide value if they are used in Team Membership Rules. For example, if you provide the manager username of every user, you can write a membership rule for "all reports of X manager."

Lifecycle

  1. A Root user is created when an org is provisioned, and cannot be created, deleted, or deactivated.
  2. "Self-Managed Users" can be created/updated/deleted thru OrgFormation

OrgFormation

Pyrae::IAM::SelfManagedUser Reference

Sample:

OfnResources:
MyResource:
Type: "Pyrae::IAM::SelfManagedUser"
Properties:
Name: "MyResource" # optional
Emails: # optional
- someemail@example.com
FirstName: "Jane" # optional
LastName: "Doe" # optional
JobTitle: "Engineer" # optional
Username: "jane.doe" # optional
ManagerUsername: "the.boss" # optional
DirectoryGroups: # optional
- GroupId: "12345"
GroupName: "Engineers"

Pyrae Policy Engine

If you're concerned about monitoring policies in your organization, our Policy Engine can monitor your infrastructure and provide actionable alerts.

Contact Us