action rudder_add_secret { label: "Create a secret" description: "Add a secret" provider: rudder method: PUT path: "/secret/" encoding: json input: { type: "object" properties: { description: { type: "string" description: "The description of the secret to identify it more easily" } name: { type: "string" description: "The name of the secret used as a reference on the value" } value: { type: "string" description: "The value of the secret it will not be exposed in the interface" } } } output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["addSecret"] } data: { type: "object" required: ["secrets"] properties: { secrets: { type: "array" description: "List of API version and status" items: { type: "object" required: ["name", "description"] properties: { description: { type: "string" description: "The description of the secret to identify it more easily" } name: { type: "string" description: "The name of the secret used as a reference on the value" } } } } } } result: { type: "string" description: "Result of the request" enum: ["success", "error"] } } } }