{ "anchor": "set_secret", "name": "set_secret", "category": "Event", "description": "Sets the given secret in the event.", "arguments": [ { "name": "key", "description": "The name of the secret.", "required": true, "type": [ "string" ] }, { "name": "secret", "description": "The secret value.", "required": true, "type": [ "string" ] } ], "return": { "types": [ "null" ] }, "examples": [ { "title": "Set the datadog api key", "source": "set_secret(\"datadog_api_key\", \"secret-value\")", "return": null } ], "pure": true }