Interface CreateKeyOptions
Hierarchy (View Summary)
- TimeoutOptions
- CreateKeyOptions
Properties
preset
preset: string
The kind of key: mcp_rw, mcp_ro or audit. It must be within the user's roles.
Optionalname
name?: string
A name to recognise the key by.
OptionalvalidUntil
validUntil?: Date
When the key expires, at most three months ahead, sent as the whole second it falls in. Omitted, three months.
Optionaltimeout
timeout?: number
Seconds to wait for this call. Defaults to the client's own timeout.
What UserOperations.createKey makes a key from.