Skip to content

CreateKeyPairResult

Source code in docs_src/capo_lightsail/types/create_key_pair_result.py
class CreateKeyPairResult(TypedDict, closed=True):
    key_pair: NotRequired["capo_lightsail.types.key_pair.KeyPair"]
    """<p>An array of key-value pairs containing information about the new key pair you just created.</p>"""
    public_key_base64: NotRequired["capo_lightsail.types.base64.Base64"]
    """<p>A base64-encoded public key of the <code>ssh-rsa</code> type.</p>"""
    private_key_base64: NotRequired["capo_lightsail.types.base64.Base64"]
    """<p>A base64-encoded RSA private key.</p>"""
    operation: NotRequired["capo_lightsail.types.operation.Operation"]
    """<p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>"""

key_pair instance-attribute

key_pair: NotRequired[KeyPair]

An array of key-value pairs containing information about the new key pair you just created.

operation instance-attribute

operation: NotRequired[Operation]

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

private_key_base64 instance-attribute

private_key_base64: NotRequired[Base64]

A base64-encoded RSA private key.

public_key_base64 instance-attribute

public_key_base64: NotRequired[Base64]

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