You can search for "key:~A" and the library will search for tracks compatible with the key of A (not just in A).
You can search for "key:~A" and the library will search for tracks compatible with the key of A (not just in A).