Certificate#

class Certificate(metadata=None, public_cert=None, private_key=None, ca=None, alternate_fqdns=None, should_generate=False, alternate_ips=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’.

  • should_generate – (should_generate) If true, the certificate is generated with the provided alternate FQDNs and IPs. (Default False)

  • alternate_ips – (alternate_ips) A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).

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 alternate_ips#

A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).

Type:

list[ IPAddress ]

property ca#

The CA certificate or chain to upload.

Type:

str

property metadata#
Type:

Metadata

property private_key#

The private key to upload.

Type:

str

property public_cert#

The public certificate to upload.

Type:

str

property should_generate#

If true, the certificate is generated with the provided alternate FQDNs and IPs.

Type:

bool

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model