Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/cli / / runSecretsRotate

Function: runSecretsRotate()

ts
function runSecretsRotate(options): Promise<{
  ok: true;
}>;

Defined in: packages/cli/src/commands/secrets.ts:254

graphorin secrets rotate <key> - overwrite the existing value with a fresh one. Functionally identical to set but the CLI surfaces the operation explicitly so audit logs can distinguish a rotation from an initial write.

Parameters

ParameterType
optionsSecretsRotateOptions

Returns

Promise<{ ok: true; }>

Stable