/** * HashiCorp Vault API * HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`. * * The version of the OpenAPI document: 1.20.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface PkiWriteExternalPolicySignPolicyRequest */ export interface PkiWriteExternalPolicySignPolicyRequest { [key: string]: any | any; /** * PEM-format CSR is expected but the contents of this field will not be validated * @type {string} * @memberof PkiWriteExternalPolicySignPolicyRequest */ csr: string; /** * Format for returned data. Can be "pem", "der", or "pem_bundle". If "pem_bundle", any private key and issuing cert will be appended to the certificate pem. If "der", the value will be base64 encoded. Defaults to "pem". * @type {string} * @memberof PkiWriteExternalPolicySignPolicyRequest */ format?: PkiWriteExternalPolicySignPolicyRequestFormatEnum; /** * Whether or not to remove self-signed CA certificates in the output of the ca_chain field. * @type {boolean} * @memberof PkiWriteExternalPolicySignPolicyRequest */ removeRootsFromChain?: boolean; } /** * @export * @enum {string} */ export declare enum PkiWriteExternalPolicySignPolicyRequestFormatEnum { PEM = "pem", DER = "der", PEM_BUNDLE = "pem_bundle" } /** * Check if a given object implements the PkiWriteExternalPolicySignPolicyRequest interface. */ export declare function instanceOfPkiWriteExternalPolicySignPolicyRequest(value: object): value is PkiWriteExternalPolicySignPolicyRequest; export declare function PkiWriteExternalPolicySignPolicyRequestFromJSON(json: any): PkiWriteExternalPolicySignPolicyRequest; export declare function PkiWriteExternalPolicySignPolicyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PkiWriteExternalPolicySignPolicyRequest; export declare function PkiWriteExternalPolicySignPolicyRequestToJSON(json: any): PkiWriteExternalPolicySignPolicyRequest; export declare function PkiWriteExternalPolicySignPolicyRequestToJSONTyped(value?: PkiWriteExternalPolicySignPolicyRequest | null, ignoreDiscriminator?: boolean): any;