certificate.get_instance ======================== Returns instance matching `id`. If `id` is not found, Validation error is raised. Please see `query` method documentation for `options`. .. raw:: html
Query options customize the results returned by a query method. More complete documentation with examples are covered in the "Query methods" section of the TrueNAS API documentation.
No Additional PropertiesExtra options are defined on a per-endpoint basis and are described in the documentation for the associated query method.
An array of field names describing the manner in which query results should be ordered. The field names may     also have one of more of the following special prefixes: - (reverse sort direction), nulls_first: (place     any null values at the head of the results list), nulls_last: (place any null values at the tail of the     results list). 
[
        "size",
        "-devname",
        "nulls_first:-expiretime"
    ]
    An array of field names specifying the exact fields to include in the query return. The dot character .     may be used to explicitly select only subkeys of the query result. 
[
        "username",
        "Authentication.status"
    ]
    Return a numeric value representing the number of items that match the specified query-filters. 
Return the JSON object of the first result matching the specified query-filters. The query fails     if there specified query-filters return no results. 
This specifies the beginning offset of the results array. When combined with the limit query-option     it may be used to implement pagination of large results arrays. WARNING: some query methods provide     volatile results and the onus is on the developer to understand whether pagination is appropriate     for a particular query API method. 
This specifies the maximum number of results matching the specified query-filters to return. When     combined wtih the offset query-option it may be used to implement pagination of large results arrays.
WARNING: Some query methods provide volatile results and the onus is on the developer to understand whether pagination is appropriate for a particular query API method.
Force use of SQL for result filtering to reduce response time. May not work for all methods.
Unique identifier for this certificate entry.
Internal certificate type identifier used to determine certificate capabilities.
Human-readable name for this certificate. Must be unique and contain only alphanumeric characters, dashes, and underscores.
Must be at least 1 characters long
PEM-encoded X.509 certificate data. null for certificate signing requests (CSR) that have not yet     been signed.
PEM-encoded private key corresponding to the certificate. null if no private key is available or for     imported certificates without keys.
PEM-encoded Certificate Signing Request (CSR) data. null for imported certificates or completed     ACME certificates.
ACME directory server URI used for automated certificate management. null for non-ACME certificates.
Mapping of domain names to ACME DNS authenticator IDs for domain validation. null for non-ACME     certificates.
Number of days before expiration to attempt automatic renewal. Only applicable for ACME certificates.     null for non-renewable certificates.
ACME registration and account information used for certificate lifecycle management. null for     non-ACME certificates.
Whether this certificate should be added to the system's trusted certificate store.
Filesystem path where certificate-related files are stored.
Must be at least 1 characters long
Filesystem path to the certificate file (.crt). null if no certificate is available.
Must be at least 1 characters long
Filesystem path to the private key file (.key). null if no private key is available.
Must be at least 1 characters long
Filesystem path to the certificate signing request file (.csr). null if no CSR is available.
Must be at least 1 characters long
Human-readable certificate type, typically 'CERTIFICATE' for standard certificates.
Must be at least 1 characters long
Whether this is an existing certificate (imported or generated).
Whether this entry represents a Certificate Signing Request (CSR) rather than a signed certificate.
Whether this certificate is a Certificate Authority (CA) certificate.
Array of PEM-encoded certificates in the certificate chain, starting with the leaf certificate.
No Additional ItemsSize of the cryptographic key in bits. null if key information is unavailable.
Type of cryptographic key algorithm (e.g., 'RSA', 'EC', 'DSA'). null if key information is unavailable.
Must be at least 1 characters long
ISO 3166-1 alpha-2 country code from the certificate subject. null if not specified.
State or province name from the certificate subject. null if not specified.
City or locality name from the certificate subject. null if not specified.
Organization name from the certificate subject. null if not specified.
Organizational unit from the certificate subject. null if not specified.
Common name (CN) from the certificate subject. null if not specified.
Subject Alternative Names (SAN) from the certificate extension. null if no SAN extension is present.
Email address from the certificate subject. null if not specified.
Distinguished Name (DN) of the certificate subject in RFC 2253 format. null if certificate parsing failed.
Hash of the certificate subject name. null if certificate parsing failed.
X.509 certificate extensions parsed into a dictionary structure.
Cryptographic hash algorithm used for certificate signing (e.g., 'SHA256'). null if unavailable.
Certificate validity period in seconds. null if certificate parsing failed.
Certificate validity start date in ISO 8601 format. null if certificate parsing failed.
Certificate validity end date in ISO 8601 format. null if certificate parsing failed.
Certificate serial number. null if certificate parsing failed.
Whether this certificate has an associated certificate chain. null if unavailable.
SHA-256 fingerprint of the certificate in hexadecimal format. null if certificate parsing failed.
Whether the certificate has expired. null if certificate parsing failed.
Whether the certificate data was successfully parsed and validated.