Exporting authorities to a file
We can export object authorities to a text file from IBM MQ Explorer.
The authorities are formatted in the text file so that we can use lines from the file on the command line or in scripts to set authorities on other computers in the IBM MQ network. For example, a file could contain the following lines:
setmqaut -m QM_A -n Q1 -t queue -p user@domain +browse +chg +clr +dlt +dsp +put +inq +get +passall +passid +set +setall +setid setmqaut -m QM_A -n Q1 -t queue -g mqm +browse +chg +clr +dlt +dsp +put +inq +get +passall +passid +set +setall +setid
We can export different subsets of object authorities:
- Exporting all object authorities for a queue manager and its objects
- Exporting all Create authorities for a queue manager
- Exporting authorities by object type
Parent topic: Manage object authorities with an authorization service
To export all of the object authorities for a queue manager
and the queue manager's objects:
All of the object authorities for the queue manager and
its objects are saved in the text file. To export all of the Create authorities for a queue manager:
All of the Create authorities for the queue manager are
saved in the text file. To export all of the object authorities by object type: All of the object authorities from the records that were found
are saved in the text file.
Exporting all object authorities for a queue manager and its
objects
About this task
Procedure
Results
Exporting all Create authorities for a queue manager
About this task
Procedure
Results
Exporting authorities by object type
About this task
Procedure
Related tasks