create
This operation creates a new role.
Description
Zilliz Cloud offers cluster roles for you to implement access control at the cluster level. For details, read Access Control Explained.
This command is available for Dedicated clusters only. You can run zilliz context set to switch among clusters.
Synopsis
zilliz role create
--role <value>
[--output <json | table | text | yaml | csv]
[--no-header]
[--query <value>]
[--database <value>]
Options
-
--role (string) -
[REQUIRED]
Indicates the role name.
The value should be a string of no more than 255 characters, starting with an underscore (_) or a letter.
-
--output, -o (string) -
Indicates the output format. Possible values:
-
json, -
table, -
text, -
yaml, -
csv.
-
-
--no-header (boolean) -
Indicates whether to omit the header row when the output is set to
tableorcsv. -
--query, -q (string) -
Indicates a JMESPath expression to filter output.
-
--database (string) -
Indicates a database name. The value defaults to
default.
Example
zilliz role create --role my_role