vcfops_certificate

VCF Operations — truststore certificates.

VCF Operations 9.x exposes its trusted-certificate store at /suite-api/api/certificate. Three operations are supported:

  • GET    /suite-api/api/certificate — list all certs

  • POST   /suite-api/api/certificate — import (multipart)

  • DELETE /suite-api/api/certificate?thumbprint=…&force=… — delete one

Each certificate object carries thumbprint (SHA-1 fingerprint), certificateDetails (issuer + expiration string), issuedTo / issuedBy (subject + issuer DN).

saltext.vcf.clients.vcfops_certificate.list_(opts, profile=None)[source]

Return every certificate currently in the VCF Operations truststore.

Each entry: {"thumbprint": ..., "certificateDetails": ..., "issuedTo": ..., "issuedBy": ...}.

saltext.vcf.clients.vcfops_certificate.get(opts, thumbprint, profile=None)[source]

Return the certificate whose SHA-1 thumbprint matches thumbprint.

Raises KeyError if no certificate with that thumbprint is currently in the truststore. Use get_or_none() for the idempotent variant.

saltext.vcf.clients.vcfops_certificate.delete(opts, thumbprint, *, force=False, profile=None)[source]

Delete a certificate by thumbprint.

force tells VCF Operations to delete even if active adapters reference it. Default False is the safe choice.