Skip to main content

ory get permission-config

ory get permission-config

Get Ory Permissions configuration.

Synopsis

Get the Ory Permissions configuration for the specified Ory Network project.

ory get permission-config [project-id] [flags]

Examples

$ ory get permission-config ecaaa3cb-0730-4ee8-a6df-9553cdfeef89 --format yaml > permission-config.yaml

$ ory get permission-config ecaaa3cb-0730-4ee8-a6df-9553cdfeef89 --format json

{
"namespaces": [
{
"name": "files",
"id": 1
},1
// ...
]
}

Options

      --format string   Set the output format. One of default, json, yaml, json-pretty and jsonpath. (default "default")
-h, --help help for permission-config

Options inherited from parent commands

  -c, --config string   Path to the Ory Network configuration file.
-q, --quiet Be quiet with output printing.
-y, --yes Confirm all dialogs with yes.

SEE ALSO