PublicKeyDetails

class oci.bastion.models.PublicKeyDetails(**kwargs)

Bases: object

Public key details for a bastion session.

Methods

__init__(**kwargs) Initializes a new PublicKeyDetails object with values from keyword arguments.

Attributes

public_key_content [Required] Gets the public_key_content of this PublicKeyDetails.
__init__(**kwargs)

Initializes a new PublicKeyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:public_key_content (str) – The value to assign to the public_key_content property of this PublicKeyDetails.
public_key_content

[Required] Gets the public_key_content of this PublicKeyDetails. The public key in OpenSSH format of the SSH key pair for the session. When you connect to the session, you must provide the private key of the same SSH key pair.

Returns:The public_key_content of this PublicKeyDetails.
Return type:str