vault/ui/api-client/dist/esm/models/PkiRevokeWithKeyRequest.d.ts

45 lines
1.6 KiB
TypeScript

/**
* 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.21.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 PkiRevokeWithKeyRequest
*/
export interface PkiRevokeWithKeyRequest {
/**
* Certificate to revoke in PEM format; must be signed by an issuer in this mount.
* @type {string}
* @memberof PkiRevokeWithKeyRequest
*/
certificate?: string;
/**
* Key to use to verify revocation permission; must be in PEM format.
* @type {string}
* @memberof PkiRevokeWithKeyRequest
*/
privateKey?: string;
/**
* Certificate serial number, in colon- or hyphen-separated octal
* @type {string}
* @memberof PkiRevokeWithKeyRequest
*/
serialNumber?: string;
}
/**
* Check if a given object implements the PkiRevokeWithKeyRequest interface.
*/
export declare function instanceOfPkiRevokeWithKeyRequest(value: object): value is PkiRevokeWithKeyRequest;
export declare function PkiRevokeWithKeyRequestFromJSON(json: any): PkiRevokeWithKeyRequest;
export declare function PkiRevokeWithKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PkiRevokeWithKeyRequest;
export declare function PkiRevokeWithKeyRequestToJSON(json: any): PkiRevokeWithKeyRequest;
export declare function PkiRevokeWithKeyRequestToJSONTyped(value?: PkiRevokeWithKeyRequest | null, ignoreDiscriminator?: boolean): any;