Skip to main content

Get

Show a role and each permission it grants.

osapi token roles get [flags]

Examples​

osapi token roles get --name admin

Flags​

FlagDescriptionDefault
--nameThe role, such as admin, or a custom role of the config (required)

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.