Last modified on November 3, 2023

   sdm admin roles grant - grant one or more roles access to a datasource by name, or to a group of datasources by filter

   sdm admin roles grant [command options] [datasource-name] <role-name-1> [role-name-2 role-name-n...]

   --template, -t          display a JSON template
   --file value, -f value  load grants from JSON file
   --stdin, -i             load from stdin
   --filter value          filter e.g. 'field:name tag:key=value ...'
   --filters-help          show valid filter strings and examples
   --filter-json value     path to JSON based filter
   --timeout value         set time limit for command

For more information on the use of filters in the CLI, see the Filters documentation.