Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

sentry -command config-tool -E <filepath> -b <specific auth object>

-E,--export <filepath>       The path of export policy file

-b,--objectPath <specific auth object> Optional, the specific authorization object for export

eg: sentry -command config-tool -E /tmp/export.ini -b db=db1->table=table1

File format

For the policy file format, the interface SentryPolicyFileFormatter is responsible for this. The implemented class can be configured in the sentry-site.xml as the following:

...