Member Junction
    Preparing search index...

    Action for encrypting existing data when encryption is enabled on a field.

    This action handles the initial encryption of existing plaintext data after the Encrypt flag is set on an EntityField.

    1. Loads the EntityField metadata to get encryption settings
    2. Validates the encryption key is accessible
    3. Queries for all records where the field is not null
    4. For each record:
      • Skip if already encrypted
      • Encrypt the plaintext value
      • Save the encrypted value
    5. Returns statistics on encrypted/skipped records

    Records are processed in configurable batches to manage memory and allow for progress tracking.

    This is a privileged operation that modifies data. Should be restricted to administrators.

    Index

    Constructors

    Methods

    Constructors

    Methods