Authorizations
Query Parameters
The tags ids to filter by, separated by comma, e.g. filter[tags]=tag_1,tag_2
will return ssh keys with tag_1
AND tag_2
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.ssh_keys.get_ssh_keys()
# Handle response
print(res)
{
"data": [
{
"id": "ssh_aNmodj4eDbE8W",
"type": "ssh_keys",
"attributes": {
"tags": [],
"name": "shields-lind.test",
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAifZt83PbEYnFX/pVfbUAw+hN60eTak5x3EqSUAG2vUrchJiU+V5fVj9H1IstDOB3clhEGiAqxby+Bur9lp3mWSXvRoPo85VU5OH7DS/+8GFUKGtLpHPI7It+ZEq/LaIq8p1VIwql77SBbaUYgKJxWobfJPpQgipr2kphrrfXkqeqP/W0tLKHq6XYzKFl0dZWdduDDZ9ltfZJcLRnYMOMqh6rVw79lOIi6HCxANNoxEKE0p4qUaOWbGRknOADD4qlES7vZWRindKSRgN0jf21STzzzXdB9o4PQmHM/q39UbjBvFppE0NVwD5oBC7Vkej7GnoUxwUgwjgC4fDrZM2X",
"fingerprint": "62:cd:46:63:46:c4:2b:19:47:9f:9e:19:f9:d8:be:87",
"created_at": "2025-07-16T18:37:05+00:00",
"updated_at": "2025-07-16T18:37:05+00:00",
"user": {
"id": "user_5m68r767gNC5G528wokRFW2lLPy",
"first_name": "Harris",
"last_name": "Mills",
"email": "carlton_feeney@fisher.example",
"created_at": "2024-12-09T00:00:00.000Z",
"updated_at": "2024-07-20T00:00:00.000Z",
"role": {
"id": "role_P2QbX40bZnu4J37oVba2TaQYp5M",
"name": "owner",
"created_at": "2025-03-15T00:00:00.000Z",
"updated_at": "2026-06-22T00:00:00.000Z"
}
}
}
}
],
"meta": {}
}
List all SSH Keys in the project. These keys can be used to access servers after deploy and reinstall actions.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.ssh_keys.get_ssh_keys()
# Handle response
print(res)
{
"data": [
{
"id": "ssh_aNmodj4eDbE8W",
"type": "ssh_keys",
"attributes": {
"tags": [],
"name": "shields-lind.test",
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAifZt83PbEYnFX/pVfbUAw+hN60eTak5x3EqSUAG2vUrchJiU+V5fVj9H1IstDOB3clhEGiAqxby+Bur9lp3mWSXvRoPo85VU5OH7DS/+8GFUKGtLpHPI7It+ZEq/LaIq8p1VIwql77SBbaUYgKJxWobfJPpQgipr2kphrrfXkqeqP/W0tLKHq6XYzKFl0dZWdduDDZ9ltfZJcLRnYMOMqh6rVw79lOIi6HCxANNoxEKE0p4qUaOWbGRknOADD4qlES7vZWRindKSRgN0jf21STzzzXdB9o4PQmHM/q39UbjBvFppE0NVwD5oBC7Vkej7GnoUxwUgwjgC4fDrZM2X",
"fingerprint": "62:cd:46:63:46:c4:2b:19:47:9f:9e:19:f9:d8:be:87",
"created_at": "2025-07-16T18:37:05+00:00",
"updated_at": "2025-07-16T18:37:05+00:00",
"user": {
"id": "user_5m68r767gNC5G528wokRFW2lLPy",
"first_name": "Harris",
"last_name": "Mills",
"email": "carlton_feeney@fisher.example",
"created_at": "2024-12-09T00:00:00.000Z",
"updated_at": "2024-07-20T00:00:00.000Z",
"role": {
"id": "role_P2QbX40bZnu4J37oVba2TaQYp5M",
"name": "owner",
"created_at": "2025-03-15T00:00:00.000Z",
"updated_at": "2026-06-22T00:00:00.000Z"
}
}
}
}
],
"meta": {}
}
The tags ids to filter by, separated by comma, e.g. filter[tags]=tag_1,tag_2
will return ssh keys with tag_1
AND tag_2
Was this page helpful?