Managing security roles from the Orchestration CLI

In this topic you can find the syntax to create a security role.

About this task

A security role represents a certain level of authorization and includes the set of actions that users or groups can perform on a set of item types.

Create new security role

About this task

To create a new standard security role, use the following syntax:

$securityrole SECURITYROLE STANDARD
                                        DESCRIPTION "This is securityRole #1"
                                        RESOURCE_1 ACTIONS...
                                        RESOURCE_2 ACTIONS...
                                        END

Supported Resources for standard roles:

  • JOB
  • JOBSTREAM
  • CPU
  • CALENDAR
  • CREDENTIALS
  • VARTABLE
  • FOLDER
  • ENDPOINT
  • EVENTSOURCE
  • RESOURCE
  • AIAGENT

Supported Actions for standard roles:

  • ADD
  • MODIFY
  • UNLOCK
  • USE
  • DISPLAY
  • LIST
  • DELETE
  • LIMIT
  • RUN
  • LINK
  • UNLINK
  • FENCE
  • ACL
  • CANCEL
  • DELDEP
  • SUBMIT
  • RELEASE
  • ALTPRI
  • ADDDEP
  • KILL
  • RERUN
  • CONFIRM
  • SUBMITDB

To create a new administrative security role, use the following syntax:

$securityrole SECURITYROLE ADMINSECROLE
                                        DESCRIPTION "Admin Security Role"
                                        ADMIN LISTALLAPIKEYS, DELETEALLAPIKEYS, CREATEPERSONALAPIKEY, CREATESERVICEAPIKEY, REGISTERAGENT, MANAGEAIPILOT, DELETEPLUGIN, INSTALLPLUGIN, LISTPLUGIN
                                        END

Supported Resources for administrative roles:

  • ADMIN

Supported Actions for administrative roles:

  • LISTALLAPIKEYS
  • DELETEALLAPIKEYS
  • CREATEPERSONALAPIKEY
  • CREATESERVICEAPIKEY
  • REGISTERAGENT
  • MANAGEAIPILOT
  • DELETEPLUGIN
  • INSTALLPLUGIN
  • LISTPLUGIN

Actions are role specific, and can be assigned either to administrative or standard roles.

For more information about actions available for each security item, see Actions on security items.

Results

The security role has now been added to the database.