import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.storage.link_ssh_key( key_id=0, storage_id=0,)
Copy
Ask AI
This response has no body data.
Storage
Link SSH key to SFTP storage
Associates an SSH public key with an SFTP storage, enabling passwordless authentication. Only works with SFTP storage types - not applicable to S3-compatible storage.
POST
/
storage
/
provisioning
/
v1
/
storage
/
{storage_id}
/
key
/
{key_id}
/
link
Python
Copy
Ask AI
import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.storage.link_ssh_key( key_id=0, storage_id=0,)