Skip to content

Depot vault stepup

Registers the step-up routes.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

POSTshared facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

postStepUp proves the caller again and stamps this console session’s claim: a passkey, an authenticator or recovery code, or the account password.

Required, sent as application/json.

FieldTypeDescription
ceremonyIdrequiredstring
coderequiredstring
credentialrequiredany

Arbitrary JSON.

methodrequiredstring
passwordrequiredstring
StatusBodyDescription
200application/json, StepUpResponseSuccess.
400application/problem+json, ProblemDetailsThe request body is not valid JSON.
401application/problem+json, ProblemDetailsAuthentication is required.
409application/problem+json, ProblemDetailsThis request has no console session, so a second factor cannot be recorded against it.
500application/problem+json, ProblemDetailsThe request failed.
503application/problem+json, ProblemDetailsThis Depot has no client database for this request yet.

200 response body

FieldTypeDescription
goodForSecondsrequiredinteger
methodrequiredstring
verifiedAtrequiredstring
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X POST 'https://depot.example.com/api/v1/auth/step-up' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-b 'outpost_console=<console-session>' \
--data '{
"ceremonyId": "string",
"code": "string",
"credential": "string",
"method": "string",
"password": "string"
}'

GETshared facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

getStepUpMethods lists the ways the signed-in account can step up.

StatusBodyDescription
200application/json, StepUpMethodsResponseSuccess.
401application/problem+json, ProblemDetailsAuthentication is required.
409application/problem+json, ProblemDetailsThis request has no console session, so a second factor cannot be recorded against it.
503application/problem+json, ProblemDetailsThis Depot has no client database for this request yet.

200 response body

FieldTypeDescription
methodsrequiredarray of string
vaultMethodsrequiredarray of string
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/auth/step-up/methods' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

POSTshared facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

beginStepUpPasskey starts a passkey step-up: the options for navigator.credentials.get, user verification required, bound to this console session for five minutes.

Answer it with POST /api/v1/auth/step-up.

StatusBodyDescription
200application/json, StepUpPasskeyResponseSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsAuthentication is required.
409application/problem+json, ProblemDetailsThis request has no console session, so a second factor cannot be recorded against it.
500application/problem+json, ProblemDetailsThe request failed.
503application/problem+json, ProblemDetailsThis Depot has no client database for this request yet.

200 response body

FieldTypeDescription
ceremonyIdrequiredstring
publicKeyrequiredany
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X POST 'https://depot.example.com/api/v1/auth/step-up/passkey' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.