clerk.create_machine
ActiveTool of Vee3
Create a machine in a connected Clerk instance for machine-to-machine authentication. **Sensitive** — the response may include a machine secret_key on creation; do not log or expose it. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Cost = 10 tokens.
Parameters schema
{
"type": "object",
"title": "create_clerk_machineArguments",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Machine display name (1–255 characters)."
},
"scoped_machines": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Scoped Machines",
"default": null,
"description": "Machine ids (mch_...) this machine may access (max 150)."
},
"clerk_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Clerk Instance Id",
"default": null,
"description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
},
"default_token_ttl": {
"anyOf": [
{
"type": "integer",
"maximum": 315360000,
"minimum": 1
},
{
"type": "null"
}
],
"title": "Default Token Ttl",
"default": null,
"description": "Default M2M token lifetime in seconds (minimum 1)."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries