Use an encrypted text field

Encrypted text fields operate differently depending on the number of encryption contexts available to the user.

  • User with no encryption contexts: The form hides the encrypted field.
    Figure 1. Encrypted text fields 03
  • User with one encryption context: The user automatically uses their encryption context with encrypted text fields.
    • There is no data in the field: The form displays the encrypted field (assuming UI policy does not prevent it). Users with any encryption context can see empty encrypted fields. Entering data in the field causes the encrypted fields to use the currently selected encryption context to encrypt the data.
      Figure 2. Encrypted text fields 01
      Figure 3. Encrypted text fields 01a
    • There is data in the field: If the user has access to the matching encryption context, the form displays the encrypted field.
      Figure 4. Encrypted text fields 02
      Figure 5. Encrypted text fields 02a
  • User with two or more encryption contexts: The user can select an encryption context from the selector in the welcome bar.
    • There is no data in the field: The form displays the encrypted field (assuming UI policy does not prevent it). Users with any encryption context can see empty encrypted fields. Entering data in the field causes the encrypted fields to use the currently selected encryption context to encrypt the data.
    • There is data in the field: If the user has access to the matching encryption context, the form displays the encrypted field. The encrypted field always uses the original encryption context to encrypt changes to the field. This prevents users with multiple encryption contexts from changing the encryption context of a field.
      Note: A lock icon appears next to the field label to indicate an encrypted field. Pointing to the icon displays the name of the context used to encrypt the field.
      Figure 6. Encrypted text fields lock icon
      Encrypted text fields lock icon
      Note: Users cannot use encrypted fields in a filter.