# Overview

# Private Identity

In our example, the Identity "RFID#be144bdc-0f6d-4a00-4091-1a6d793cbbbb" is owned by the account with the account UUID "9891264d-4a77-4fa2-ae7f-84c9af14ae3b":

  • As "visibility" is null, the Identity is private. Private Identities are only visible to users of the account that owns the Identity.
  • As "validity_ts" is null, the Identity does not expire.

# Public Identity

In our example, the Identity "RFID#ae144bdc-0f6d-4a00-4091-1a6d793aaaa" is owned by the account with the account UUID "9891264d-4a77-4fa2-ae7f-84c9af14ae3b":

  • As "visibility" is not null, the Identity is public. Public Identities are visible to users of the account that owns the Identity and also to users of other accounts if the visibility rule of the Identity evaluates to True. In our example, the Identity is visible to users whose "profession" is either "accounting" or "sales" ("visibility": "USER.profession == 'accounting' or USER.profession == 'sales'").
  • As "validity_ts" is not null, the Identity is set to expire. The "validity_ts" attribute holds the Unix timestamp(opens new window) 1678270994.0. It means that it expires on the 8th of March 2023 at 10:23:14 a.m. GMT.
Attribute Type Description
visibility string Visibility of the Identity. An Identity created in an account is visible to users belonging to that account. If the value of the "visibility" attribute is null, the Identity is private. Private Identities are only visible to users of the account that owns the Identity. If the value is not null, the Identity is public. Public Identities are visible to users of the account that owns the Identity and as well to users of other accounts if the visibility Rule held in the "visibility" attribute evaluates to True.
validity_ts timestamp Time at which the Identity expires. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window). If the value is null, the Identity does not expire.
updated_ts timestamp Time at which the Identity was last updated. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
creation_certificate dictionary
Certificate generated automatically by the system upon creation of the Identity. The creation certificate cannot be modified after it has been generated.
Attribute Type Description
identity string User-defined ID for the Identity. It must match the regular expression(opens new window) ^[A-Za-z_][0-9A-Za-z_]{0,7}#[0-9A-Za-z_=+-]{1,64}$.
creator string Account UUID of the account creating the Identity.
created_ts timestamp Time at which the Identity was created. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).

Was this article helpful?