Skip to content
Start here

SAML Certificates

List SAML certificate sets
zero_trust.access.saml_certificates.list(SAMLCertificateListParams**kwargs) -> SyncV4PagePaginationArray[SAMLCertificateListResponse]
GET/accounts/{account_id}/access/saml_certificates
Get SAML certificate set
zero_trust.access.saml_certificates.get(strsaml_cert_set_id, SAMLCertificateGetParams**kwargs) -> SAMLCertificateGetResponse
GET/accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}
Rotate SAML certificate
zero_trust.access.saml_certificates.rotate(strsaml_cert_set_id, SAMLCertificateRotateParams**kwargs) -> SAMLCertificateRotateResponse
POST/accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}/rotate
Download current certificate in PEM format
zero_trust.access.saml_certificates.get_pem(strsaml_cert_set_id, SAMLCertificateGetPemParams**kwargs) -> BinaryResponseContent
GET/accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}/pem
ModelsExpand Collapse
class SAMLCertificateListResponse:
created_at: datetime

When the certificate set was created

formatdate-time
uid: str

Unique identifier for the certificate set

updated_at: datetime

When the certificate set was last updated

formatdate-time
current_certificate: Optional[CurrentCertificate]

The current active certificate

is_current: bool

Indicates whether the certificate can be used for IdP configuration.

not_after: datetime

Certificate expiration date

formatdate-time
public_certificate: str

The public certificate in PEM format

uid: str

Unique identifier for the certificate

previous_certificate: Optional[object]

The previous certificate (maintained during rotation period). May be null when no rotation has occurred. Mirrors the structure of saml_certificate.

class SAMLCertificateGetResponse:
created_at: datetime

When the certificate set was created

formatdate-time
uid: str

Unique identifier for the certificate set

updated_at: datetime

When the certificate set was last updated

formatdate-time
current_certificate: Optional[CurrentCertificate]

The current active certificate

is_current: bool

Indicates whether the certificate can be used for IdP configuration.

not_after: datetime

Certificate expiration date

formatdate-time
public_certificate: str

The public certificate in PEM format

uid: str

Unique identifier for the certificate

previous_certificate: Optional[object]

The previous certificate (maintained during rotation period). May be null when no rotation has occurred. Mirrors the structure of saml_certificate.

class SAMLCertificateRotateResponse:
created_at: datetime

When the certificate set was created

formatdate-time
uid: str

Unique identifier for the certificate set

updated_at: datetime

When the certificate set was last updated

formatdate-time
current_certificate: Optional[CurrentCertificate]

The current active certificate

is_current: bool

Indicates whether the certificate can be used for IdP configuration.

not_after: datetime

Certificate expiration date

formatdate-time
public_certificate: str

The public certificate in PEM format

uid: str

Unique identifier for the certificate

previous_certificate: Optional[object]

The previous certificate (maintained during rotation period). May be null when no rotation has occurred. Mirrors the structure of saml_certificate.