busy-van-76750
09/20/2024, 1:01 PMbrief-egg-61061
09/20/2024, 1:01 PMbrief-egg-61061
09/20/2024, 1:01 PMbash ory list workspaces
2. List all available projects in a specific workspace: bash ory list projects --workspace <workspace-id>
3. Get the configuration for a specific project in a specific workspace: bash 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. For more details, you can refer to the [Ory Identities CLI guide](https://www.ory.sh/docs/guides/cli/identity-cli).busy-van-76750
09/20/2024, 1:02 PMbrief-egg-61061
09/20/2024, 1:03 PMbrief-egg-61061
09/20/2024, 1:03 PM--config
flag. For example: $kratos --config path/to/config.yaml
. This file contains all the configuration details for your instance. You can refer to the [Ory Kratos Configuration documentation](https://www.ory.sh/docs/kratos/reference/configuration) for more details on how configuration is handled in Ory Kratos. If you need to view or modify the current configuration, you would typically do so by accessing this file. If you need a "dump" of the current configuration, you could simply read the contents of this file.