vibecontrols_security_secrets_set
Create a new secret in a vault. The value is encrypted server-side.
This record as markdown: /tools/vibecontrols-mcp/vibecontrols-security-secrets-set.md
What vibecontrols_security_secrets_set does on Vibecontrols
AI agents use vibecontrols_security_secrets_set to create or update resources in Vibecontrols, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Vibecontrols environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Secret key (unique within the vault) |
name | string | Yes | Human-readable secret name |
type | string | — | Secret type (default: OTHER) |
value | string | Yes | Secret value (will be encrypted server-side) |
vaultId | string | Yes | Vault ID |
expiresAt | string | — | Expiry timestamp in ISO 8601 |
description | string | — | Secret description |
isEphemeral | boolean | — | Mark as ephemeral |
Parameters from the server's own tool schema.
Why vibecontrols_security_secrets_set is rated Medium
An AI agent can call vibecontrols_security_secrets_set faster than any human can review: one bad instruction and it creates or modifies resources in Vibecontrols by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs vibecontrols_security_secrets_set safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Vibecontrols, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For vibecontrols_security_secrets_set, this is the rule to start with:
vibecontrols_security_secrets_set stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Vibecontrols, apply this rule, and every vibecontrols_security_secrets_set call is checked against it from then on.
Questions about vibecontrols_security_secrets_set
Create a new secret in a vault. The value is encrypted server-side. It is categorised as a Write tool in the Vibecontrols MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
vibecontrols_security_secrets_set accepts 8 parameters: key, name, type, value, vaultId, expiresAt, description, isEphemeral. Required: key, name, value, vaultId. The full parameter table on this page comes from the server's own tool schema.
Register the Vibecontrols MCP server in PolicyLayer and add a rule for vibecontrols_security_secrets_set: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Vibecontrols. Nothing to install.
vibecontrols_security_secrets_set is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the vibecontrols_security_secrets_set rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for vibecontrols_security_secrets_set. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
vibecontrols_security_secrets_set is provided by the Vibecontrols MCP server (@vibecontrols/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Vibecontrols, and thousands of servers like it.
This server
Across the catalogue