# Attributes

> The identity model behind the directory, the attributes and rules you add to users and groups, the values the realm keeps out of every read, and types of your own.

The shipped user has a name, an email, a phone number and a few preferences. Your organization keeps more: an
employee number, a department, a cost center, a start date. Add them to your realm's types and they behave like the
shipped ones: stored, searched, checked on every write and shown in every read. When what you keep is a thing of its
own, such as a department with a head and a budget, define a type for it.

Every change here is for your realm alone; other realms are unchanged.

<CardGrid>
  <LinkCard title="The identity model" description="Types, objects, links and revisions: the pattern every directory call follows." href="./identity-model/" />
  <LinkCard title="Attributes and validation" description="Add your own attributes, with the rules every write must pass." href="./attributes-and-validation/" />
  <LinkCard title="Sensitive attributes" description="Seal or hash a value at rest, and keep it out of every read." href="./sensitive-attributes/" />
  <LinkCard title="Custom types" description="Object types of your own, linked to your users and groups." href="./custom-types/" />
</CardGrid>

## Capabilities

| Capability | What it gives you |
|---|---|
| [The identity model](./identity-model/) | Users, groups and agents as types, linked to each other and read and written through one API |
| [Change history](./identity-model/#every-change-is-recorded) | Every change to any object, newest first |
| [Attributes and validation](./attributes-and-validation/) | Your own attributes on users and groups, checked on every write, with every failure reported at once |
| [Sensitive attributes](./sensitive-attributes/) | Values sealed or hashed at rest, never returned in a read, and never searchable |
| [Custom types](./custom-types/) | Object types of your own, such as a department or a cost center |
| [Your own user type](./your-own-user-type/) | Sign users in against a type you define, given every field sign-in needs |

## Coming next

Improvements to the shipped types reaching realms that already exist are planned: see
[What's next for attributes](./whats-next/).

## Related

- [Add your own attribute to users](../guides/add-an-attribute/): the task, start to finish.
- [Rule-based membership](../groups/rule-based-membership/): membership worked out from attributes.
- [Search and paging](../users/search/): find objects by the attributes you add.
