@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
31 lines • 1.34 kB
TypeScript
import { CertificateKindEnum } from './CertificateKindEnum';
import { ServerAlternativeName } from './certificate/ServerAlternativeName';
import { CertificateStatusEnum } from './CertificateStatusEnum';
/** A Certificate to use in your NFVs */
export interface Certificate {
/** Date after when the certificate is not valid */
expireAt: string;
/** Fingerprint of the cert (prefixed by hashing algorithm used) */
fingerprint: string;
/** Unique ID of the certificate */
id: string;
/** Issue of the certificate (extract from certificate) */
issuer: string;
/** Kind of certificate */
kind: CertificateKindEnum;
/** Name of the certificate */
name: string;
/** Serial number of the certificate (extract from certificate) */
serialNumber: string;
/** List of SANs (extract from certificate) */
serverAlternativeNames: ServerAlternativeName[];
/** Certificate status, to quickly know it can safely be used */
status: CertificateStatusEnum;
/** Subject of the certificate (extract from certificate) */
subject: string;
/** Date after when the certificate is valid */
validAt: string;
/** Version of certificate (incremented every time you push a new certificate with the same name) */
version: number;
}
//# sourceMappingURL=Certificate.d.ts.map