Skip to main content
Version: Unreleased 🚧

capact policy apply

capact policy apply

Updates current Policy with new value

capact policy apply -f {path} [flags]


# Updates the Policy using content from file
capact policy apply -f /tmp/policy.yaml


  -f, --from-file string   The path to new Policy in YAML format
-h, --help help for apply
--timeout duration Timeout for HTTP request (default 30s)

Options inherited from parent commands

  -C, --config string                 Path to the YAML config file
-v, --verbose int/string[=simple] Prints more verbose output. Allowed values: 0 - disable, 1 - simple, 2 - trace (default 0 - disable)


  • capact policy - This command consists of multiple subcommands to interact with Policy