Skip to content

ImportKeyPairRequest

Source code in docs_src/capo_lightsail/types/import_key_pair_request.py
class ImportKeyPairRequest(TypedDict, closed=True):
    key_pair_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name of the key pair for which you want to import the public key.</p>"""
    public_key_base64: "capo_lightsail.types.base64.Base64"
    """<p>A base64-encoded public key of the <code>ssh-rsa</code> type.</p>"""

key_pair_name instance-attribute

key_pair_name: ResourceName

The name of the key pair for which you want to import the public key.

public_key_base64 instance-attribute

public_key_base64: Base64

A base64-encoded public key of the ssh-rsa type.