Skip to main content

list_secrets_handler

Function list_secrets_handler 

Source
pub async fn list_secrets_handler<A>(
    __arg0: Path<String>,
    __arg1: State<AppState<A>>,
) -> impl IntoResponse
where A: DatabaseAdapter + Clone + Send + Sync + 'static,
Expand description

GET /admin/v1/functions/{name}/secrets — secret key names (values never returned).

§Errors

Returns 401 without valid admin credentials (enforced by middleware).