Certificate#
- class Certificate(metadata=None, public_cert=None, private_key=None, ca=None, alternate_fqdns=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModel
- Parameters:
metadata – (
metadata
)public_cert (min=1 chars, max=2000000 chars) – (
public_cert
) The public certificate to upload.private_key (min=1 chars, max=2000000 chars) – (
private_key
) The private key to upload.ca (min=1 chars, max=2000000 chars) – (
ca
) The CA certificate or chain to upload.alternate_fqdns – (
alternate_fqdns
) The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a ‘.’. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g ‘objects-0.pc_nutanix.com’.
- property alternate_fqdns#
The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a ‘.’. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g ‘objects-0.pc_nutanix.com’.
- Type:
list[
FQDN
]
- property ca#
The CA certificate or chain to upload.
- Type:
str
- property private_key#
The private key to upload.
- Type:
str
- property public_cert#
The public certificate to upload.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model