witty-fountain-21673
08/22/2024, 7:03 PMchilly-king-10285
08/22/2024, 7:03 PMchilly-king-10285
08/22/2024, 7:03 PMbash ## List all available workspaces ory list workspaces ## List all available projects ory list projects --workspace <workspace-id> ## Get config ory get identity-config --project <project-id> --workspace <workspace-id> --format yaml
The --format
flag defines the format of the output file. You can choose one of yaml
, json
, or json-pretty
. Getting the configuration in the YAML format produces output that is ready to use with self-hosted Ory Kratos. To save the configuration to a YAML file, you can use the following command: bash ory get identity-config --project <project-id> --workspace <workspace-id> --format yaml > identity-config.yaml
Please note that you must be signed in to an Ory Network account to perform this action. You can read more about this in the [Ory CLI documentation](https://www.ory.sh/docs/guides/cli/cli-basics#use-cli-with-existing-cloud-account). [Source](https://www.ory.sh/docs/guides/cli/identity-cli)witty-fountain-21673
08/22/2024, 7:14 PMchilly-king-10285
08/22/2024, 7:14 PMchilly-king-10285
08/22/2024, 7:14 PMwitty-fountain-21673
08/22/2024, 7:22 PMchilly-king-10285
08/22/2024, 7:22 PMchilly-king-10285
08/22/2024, 7:22 PMkratos serve
command to run the Ory Kratos server: bash kratos serve [flags]
The flags for this command include: bash -c, --config strings Path to one or more .json, .yaml, .yml, .toml config files. --dev Disables critical security features to make development easier -h, --help help for serve --sqa-opt-out Disable anonymized telemetry reports --watch-courier Run the message courier as a background task, to simplify single-instance setup
You can also use the kratos remote
command to manage remote Ory Kratos instances: bash -e, --endpoint string The URL of Ory Kratos' Admin API. Alternatively set using the KRATOS_ADMIN_URL environmental variable. --format string Set the output format. One of table, json, yaml, json-pretty, jsonpath and jsonpointer. (default "default") -h, --help help for remote -q, --quiet Be quiet with output printing.
For more information, you can refer to the [Ory Kratos CLI documentation](https://www.ory.sh/docs/kratos/cli/kratos-serve) and the [Ory Kratos remote CLI documentation](https://www.ory.sh/docs/kratos/cli/kratos-remote).witty-fountain-21673
08/22/2024, 7:29 PMchilly-king-10285
08/22/2024, 7:29 PMchilly-king-10285
08/22/2024, 7:29 PM