Get Device Secrets

View as Markdown

Return a list of secrets available in device config context.

Args: device_id: The UUID of the device to fetch secrets from

Returns: List of secrets found in the device’s config context

Authentication

AuthorizationBearer

Bearer JWT used by CLI and machine clients on svc-* endpoints. Authentication is required by default, but deployments may disable it with [auth] required = false. Browser OIDC sessions, mTLS, SPIFFE identities, and trusted gateway identity headers may also satisfy authentication outside this generated client flow.

Path parameters

device_idstringRequired

Response

Successful Response
namestring
descriptionstring or null

Errors

422
Unprocessable Entity Error