Starting ASQuery with Security

Procedure

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

    These command line options start ASQuery 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. ASQuery will then additionally populate an encrypted field named secure_value. Since encrypted fields cannot be queried, additional queries on the encrypted field have not been added to the example. See, “Implementing ActiveSpaces Security” for information on encrypting data fields.