<@U04UQ68083H> How do I push my config file with t...
# ory-copilot
b
@chilly-king-10285 How do I push my config file with the CLI?
c
A message from kapa.ai
To push your configuration file using the Ory CLI, you need to use the
ory update
command followed by the specific configuration you want to update and the project id. Here are the steps for different configurations: 1. For Ory Identities configuration:
Copy code
ory update identity-config {project-id} --file config.yaml
[source](https://www.ory.sh/docs/guides/cli/identity-cli) 2. For Ory Permissions configuration:
Copy code
ory update permission-config {project-id} --file permission-config.yaml
[source](https://www.ory.sh/docs/guides/cli/configure-permission-service) 3. For Ory OAuth2 and OpenID configuration:
Copy code
ory update oauth2-config {project-id} --file config.yaml
[source](https://www.ory.sh/docs/guides/cli/oauth2-cli) 4. For Ory Projects configuration:
Copy code
ory update project <your-project-id> --file config.json
[source](https://www.ory.sh/docs/guides/cli/config-with-cli) Replace
{project-id}
with your actual project id and make sure the file path is correct. The file should be in the format specified in the command (either .yaml or .json).