otdfctl policy registered-resources create
create - Create a Registered Resource
Synopsis
otdfctl policy registered-resources create [flags]Description
Add a registered resource to the platform Policy.
A registered resource name is normalized to lower case and may contain hyphens or dashes between other alphanumeric characters.
For more information, see the registered-resources subcommand.
Examples
Create a registered resource named 'my_resource' with value 'my_value':
otdfctl policy registered-resources create --name my_resource --value my_value
Options
-n,--name <name>- Name of the registered resource (must be unique within Policy) (required:
true)
-v,--value <value>- Value of the registered resource (i.e. 'value1', must be unique within the Registered Resource) (required:
false)
-l,--label <label>- Optional metadata 'labels' in the format: key=value (required:
false)
Aliases
c, add, new