n8n/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateInterface.ts
Ricardo Espinoza d36e920997
feat(Venafi TLS Protect Cloud): add Venafi TLS Protect Cloud (#4253)
*  Venafi TTL Protect Cloud

*  Improvements

*  Add authenticate generic type

*  Add paired items

*  Add codex

*  Update package.json
2022-10-07 09:48:45 -04:00

42 lines
1,006 B
TypeScript

export interface ICertficateRequest {
isVaaSGenerated?: boolean;
csrAttributes?: ICsrAttributes;
applicationServerTypeId?: string;
certificateSigningRequest?: string;
applicationId?: string;
certificateIssuingTemplateId?: string;
certficateOwnerUserId?: string;
validityPeriod?: string;
}
export interface ICsrAttributes {
commonName?: string;
organization?: string;
organizationalUnits?: string[];
locality?: string;
state?: string;
country?: string;
keyTypeParameters?: IKeyTypeParameters;
subjectAlternativeNamesByType?: ISubjectAltNamesByType;
}
export interface IKeyTypeParameters {
keyType?: string;
keyCurve?: string;
keyLength?: number;
}
export interface ISubjectAltNamesByType {
dnsNames?: string[];
rfc822Names?: string[];
ipAddresses?: string[];
uniformResourceIdentifiers?: string[];
}
export interface ICertficateKeystoreRequest {
exportFormat?: string;
encryptedPrivateKeyPassphrase?: string;
encryptedKeystorePassphrase?: string;
certificateLabel?: string;
}