Starting ASBatchOperations With Security

Procedure

  1. The following example shows the command line options that you can use when starting ASBatchOperations to have it join the security domain exdomain and use a space with an additional encrypted field:
    -discovery tcp://127.0.0.1:50000 -member_name batchop -security_token exdomain_token.txt -encrypt_field

    These command line options start ASBatchOperations using the default metaspace named ms and allow it to connect to a security domain controller that has been started using the example security policy file example_policy.txt.

  2. When you use ASBatchOperations to put data into the space, you see the following additional prompt:

    Put All: Enter the value to be encrypted (string):

    The value you enter at this prompt is stored into a field named secure_value, which is defined as a string. Any string value that you enter in response to this prompt is encrypted when it is stored in the space or when it is persisted.

    See Data Encryption for information on encrypting data fields.