diagrid workflow access-policy update
Update a Dapr workflow access policy
Description
Update a Dapr workflow access policy (full replace via PUT).
All provided flags replace the corresponding fields in the existing policy. Fields not specified are preserved from the current policy state.
For complex policies with specific operation names or multiple rule groups, use --prompt to edit using the interactive TUI seeded with the current policy.
diagrid workflow access-policy update <name> [flags]
Examples
# Replace allowed callers
diagrid workflow access-policy update my-policy --callers c1,c2
# Change target scopes
diagrid workflow access-policy update my-policy --scopes app-a,app-b
# Edit using the interactive prompt (seeded with current policy state)
diagrid workflow access-policy update my-policy --prompt
Options
-p, --project string Name of existing project
-s, --scopes strings Target App IDs this policy protects (replaces existing scopes)
--callers strings Caller App IDs to allow for all workflows and activities (replaces existing rules)
-w, --wait Wait for long-running resource update to finish
--prompt Edit using the interactive TUI seeded with the current policy state
-h, --help help for update
Options inherited from parent commands
--api-key string Diagrid Cloud API key
SEE ALSO
- diagrid workflow access-policy - Manage Dapr workflow access policies