@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
32 lines • 1.27 kB
TypeScript
import { CertificateAuthorityEnum } from './CertificateAuthorityEnum';
import { ResourceMetadata } from '../iam/ResourceMetadata';
import { CertificateStatusEnum } from './CertificateStatusEnum';
import { CertificateTypeEnum } from './CertificateTypeEnum';
/** Certificate of an SSL customer */
export interface CertificateWithIAM {
/** The authority your certificate is issued from */
authority: CertificateAuthorityEnum;
/** Your certificate */
certificate?: string;
/** The issuer chain of your certificate */
chain?: string;
/** The CN field in your certificate */
commonName: string;
/** The CSR used to create your certificate */
csr: string;
/** IAM resource metadata */
iam?: ResourceMetadata;
/** The internal name of your certificate offer */
serviceName: string;
/** Current status of your certificate */
status: CertificateStatusEnum;
/** The SAN field for multidomain certificate */
subjectAltName: string[];
/** Type of your certificate */
type: CertificateTypeEnum;
/** Your certificate is invalid from this date */
validityEnd?: string;
/** Your certificate is valid from this date */
validityStart?: string;
}
//# sourceMappingURL=CertificateWithIAM.d.ts.map