action conjur_replace_policy { label: "Loads or replaces a Conjur policy document." description: "Loads or replaces a Conjur policy document.\n\n**Any policy data which already exists on the server but is not\nexplicitly specified in the new policy file will be deleted!**.\n" provider: conjur method: PUT path: "/policies/{account}/policy/{identifier}" encoding: json input: { type: "object" properties: { account: { type: "string" description: "Conjur account name" } identifier: { type: "string" description: "Resource identifier. Requires to be encoded when in path.\n\n##### Examples:\n\n- `myapp-01` -> `myapp-01` (unchanged)\n- `alice@devops` -> `alice%40devops`\n- `prod/aws/db-password` -> `prod%2Faws%2Fdb-password`\n- `research+development` -> `research%2Bdevelopment`\n- `sales&marketing` -> `sales%26marketing`\n" } } required: ["account", "identifier"] additionalProperties: false } output: { type: "object" properties: { created_roles: { type: "object" } version: { type: "number" } } } }