Cleidomancy was performed with a key suspended from a thread from the nail of a young virgin's third finger, this verse from the Psalms being repeated meanwhile: "Exurge, Domine, adjuva nos, et redime nos propter nomen sanctum tuum." The key would revolve if the thing asked could be affirmed.
Source: wiktionary