Move an inline policy to Git
One step with Harness. We can help you get access.
Get something done
Move an inline policy to Git
with Harness
Works with AI assistants
Use Harness: its Harness Policies API lets you move an inline policy to Git in a single step (POST /pm/api/v1/policies/move-policy/{identifier}). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I move a policy I wrote inline into a Git repository?
- What commit message and path are needed to convert a policy to remote storage?
Say it to your AI assistant
- Move inline policy {identifier} to {git_path} in repo {git_repo} on branch {branch}, commit message {message}.
- Convert policy {identifier} to remote Git storage in {git_repo} at {git_path} on {branch}: {message}
For your developer
POST /pm/api/v1/policies/move-policy/{identifier} in Harness Policies API. Full spec on APIs.io.