/** * 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 PkiIssuerIssueWithRoleRequest */ export interface PkiIssuerIssueWithRoleRequest { /** * The requested Subject Alternative Names, if any, in a comma-delimited list. If email protection is enabled for the role, this may contain email addresses. * @type {string} * @memberof PkiIssuerIssueWithRoleRequest */ altNames?: string; /** * User supplied metadata to store associated with this certificate's serial number, base64 encoded * @type {string} * @memberof PkiIssuerIssueWithRoleRequest */ certMetadata?: string; /** * The requested common name; if you want more than one, specify the alternative names in the alt_names map. If email protection is enabled in the role, this may be an email address. * @type {string} * @memberof PkiIssuerIssueWithRoleRequest */ commonName?: string; /** * If true, the Common Name will not be included in DNS or Email Subject Alternate Names. Defaults to false (CN is included). * @type {boolean} * @memberof PkiIssuerIssueWithRoleRequest */ excludeCnFromSans?: boolean; /** * 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 PkiIssuerIssueWithRoleRequest */ format?: PkiIssuerIssueWithRoleRequestFormatEnum; /** * The requested IP SANs, if any, in a comma-delimited list * @type {Array} * @memberof PkiIssuerIssueWithRoleRequest */ ipSans?: Array; /** * Set the not after field of the certificate with specified date value. The value format should be given in UTC format YYYY-MM-ddTHH:MM:SSZ * @type {string} * @memberof PkiIssuerIssueWithRoleRequest */ notAfter?: string; /** * Requested other SANs, in an array with the format ;UTF8: for each entry. * @type {Array} * @memberof PkiIssuerIssueWithRoleRequest */ otherSans?: Array; /** * Format for the returned private key. Generally the default will be controlled by the "format" parameter as either base64-encoded DER or PEM-encoded DER. However, this can be set to "pkcs8" to have the returned private key contain base64-encoded pkcs8 or PEM-encoded pkcs8 instead. Defaults to "der". * @type {string} * @memberof PkiIssuerIssueWithRoleRequest */ privateKeyFormat?: PkiIssuerIssueWithRoleRequestPrivateKeyFormatEnum; /** * Whether or not to remove self-signed CA certificates in the output of the ca_chain field. * @type {boolean} * @memberof PkiIssuerIssueWithRoleRequest */ removeRootsFromChain?: boolean; /** * The Subject's requested serial number, if any. See RFC 4519 Section 2.31 'serialNumber' for a description of this field. If you want more than one, specify alternative names in the alt_names map using OID 2.5.4.5. This has no impact on the final certificate's Serial Number field. * @type {string} * @memberof PkiIssuerIssueWithRoleRequest */ serialNumber?: string; /** * The requested Time To Live for the certificate; sets the expiration date. If not specified the role default, backend default, or system default TTL is used, in that order. Cannot be larger than the role max TTL. * @type {string} * @memberof PkiIssuerIssueWithRoleRequest */ ttl?: string; /** * The requested URI SANs, if any, in a comma-delimited list. * @type {Array} * @memberof PkiIssuerIssueWithRoleRequest */ uriSans?: Array; /** * The requested user_ids value to place in the subject, if any, in a comma-delimited list. Restricted by allowed_user_ids. Any values are added with OID 0.9.2342.19200300.100.1.1. * @type {Array} * @memberof PkiIssuerIssueWithRoleRequest */ userIds?: Array; } /** * @export * @enum {string} */ export declare enum PkiIssuerIssueWithRoleRequestFormatEnum { PEM = "pem", DER = "der", PEM_BUNDLE = "pem_bundle" } /** * @export * @enum {string} */ export declare enum PkiIssuerIssueWithRoleRequestPrivateKeyFormatEnum { EMPTY = "", DER = "der", PEM = "pem", PKCS8 = "pkcs8" } /** * Check if a given object implements the PkiIssuerIssueWithRoleRequest interface. */ export declare function instanceOfPkiIssuerIssueWithRoleRequest(value: object): value is PkiIssuerIssueWithRoleRequest; export declare function PkiIssuerIssueWithRoleRequestFromJSON(json: any): PkiIssuerIssueWithRoleRequest; export declare function PkiIssuerIssueWithRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PkiIssuerIssueWithRoleRequest; export declare function PkiIssuerIssueWithRoleRequestToJSON(json: any): PkiIssuerIssueWithRoleRequest; export declare function PkiIssuerIssueWithRoleRequestToJSONTyped(value?: PkiIssuerIssueWithRoleRequest | null, ignoreDiscriminator?: boolean): any;