On 5/27/21 07:44, Mauricio Tavares wrote: > Is there a way to query openstack about which ssh pubkey was used with > a given server? Yes, you show the details for the server (openstack server show) [1][2] to get the name of the keypair and then you show the details for the keypair (openstack keypair show) [3][4]. By default, you have to be admin to show the details of keypairs. HTH, -melanie [1] https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/server.html#server-show [2] https://docs.openstack.org/api-ref/compute/?expanded=show-server-details-detail#show-server-details [3] https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/keypair.html#keypair-show [4] https://docs.openstack.org/api-ref/compute/?expanded=show-keypair-details-detail#show-keypair-details