PrivateKey¶
- class oci.apm_synthetics.models.PrivateKey(**kwargs)¶
Bases:
objectThe private key associated with the client certificate in PEM format.
Methods:
__init__(**kwargs)Initializes a new PrivateKey object with values from keyword arguments.
Attributes:
[Required] Gets the content of this PrivateKey.
[Required] Gets the file_name of this PrivateKey.
- __init__(**kwargs)¶
Initializes a new PrivateKey object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
file_name (str) – The value to assign to the file_name property of this PrivateKey.
content (str) – The value to assign to the content property of this PrivateKey.
- property content¶
[Required] Gets the content of this PrivateKey. Content of the private key file.
- Returns
The content of this PrivateKey.
- Return type
str
- property file_name¶
[Required] Gets the file_name of this PrivateKey. Name of the private key file.
- Returns
The file_name of this PrivateKey.
- Return type
str