bland-finland-95044
09/12/2024, 4:38 PMory list relationships --project our-project --subject Customer:example-customer#memberschilly-king-10285
09/12/2024, 4:38 PMchilly-king-10285
09/12/2024, 4:39 PMchilly-king-10285
09/12/2024, 4:39 PMchilly-king-10285
09/12/2024, 4:41 PMory list relationships command with the --subject-set flag. The --subject-set flag should be followed by the subject set in the format "namespace:object#relation". Here is an example command based on your question: bash ory list relationships --project our-project --subject-set "Customer:example-customer#members" This command will list all relation tuples that match the given partial tuple for the project "our-project" and the subject set "Customer:example-customer#members". You can also specify other options such as --namespace, --object, --relation, --subject-id, --page-size, --page-token to further filter the results. For more details, you can refer to the [Ory CLI documentation](https://www.ory.sh/docs/cli/ory-list-relationships).bland-finland-95044
09/24/2024, 6:53 PMchilly-king-10285
09/24/2024, 6:53 PMchilly-king-10285
09/24/2024, 6:53 PMORY_WORKSPACE_API_KEY and ORY_PROJECT_API_KEY environment variables: bash export ORY_WORKSPACE_API_KEY=ory_wak_8dwW9s.... export ORY_PROJECT_API_KEY=ory_pt_Wse93s.... When calling the API, include the API Key in the Authorization header: bash GET /projects/$PROJECT_ID HTTP/1.1 Host: api.console.ory.sh Accept: application/json Authorization: Bearer $API_KEY For more information, you can refer to the [Ory CLI documentation](https://www.ory.sh/docs/guides/cli/cli-basics#authentication) and [Ory Network API Keys documentation](https://www.ory.sh/docs/concepts/personal-access-token#usage-1).bland-finland-95044
09/25/2024, 6:50 PMchilly-king-10285
09/25/2024, 6:50 PMchilly-king-10285
09/25/2024, 6:51 PMory get identity-config command and update it using the ory update identity-config command. [source](https://www.ory.sh/docs/guides/gitops#ory-network-configuration) 2. OAuth2 & OpenID Connect Config: This configuration is used to manage the OAuth2 & OpenID Connect settings in your project. You can pull the current configuration using the ory get oauth2-config command and update it using the ory update oauth2-config command. [source](https://www.ory.sh/docs/guides/gitops#ory-oauth2--openid-connect-configuration) 3. Permissions Config and Ory Permission Language (OPL) Config: These configurations are used to manage the permissions in your project. You can pull the current configuration using the ory get permission-config command and update it using the ory update permission-config command. For the OPL configuration, you can update it using the ory update opl command. [source](https://www.ory.sh/docs/guides/gitops#ory-permissions-configuration-and-ory-permission-language) In addition to these, you might also need to manage the following, depending on your project's requirements: - Event Stream Config - OAuth2 Client Config - Organization Config - Project Config You can update these configurations using the ory update command followed by the respective configuration name. [source](https://www.ory.sh/docs/guides/cli/cli-migration-v1#migrate-existing-scripts-and-automation) Remember, all these configurations should be stored in a version control system like Git, and changes to these configurations should be made through pull requests. When a pull request is merged, the configuration will be updated automatically in your Ory project.bland-finland-95044
09/26/2024, 4:25 PMory create project -c <config> command?chilly-king-10285
09/26/2024, 4:25 PMchilly-king-10285
09/26/2024, 4:26 PMory create project -c <config> command should be a JSON file that contains the configuration settings for your new project. You can create this file manually, following the structure of the [updateProject API request payload](https://www.ory.sh/docs/reference/api#operation/updateProject). The /services/identity/config key is compatible with the [Ory Kratos configuration format](https://www.ory.sh/docs/kratos/reference/configuration) except for some keys (for example serve, dsn) which are ignored. Here's an example of what the configuration file might look like: json { "name": "My Project Name", "services": { "identity": { "config": { "courier": { "smtp": { "from_name": "My Custom E-Mail Name" } } } } } } In this example, the project name is set to "My Project Name", and the email sender name for recovery and verification emails is set to "My Custom E-Mail Name". Once you have created your configuration file, you can use it with the ory create project -c <config> command like this: bash ory create project -c config.json This command will create a new project with the configuration settings specified in the config.json file.