mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 22:57:02 +02:00
51 lines
2.2 KiB
TypeScript
51 lines
2.2 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 TransitImportKeyVersionRequest
|
|
*/
|
|
export interface TransitImportKeyVersionRequest {
|
|
/**
|
|
* The base64-encoded ciphertext of the keys. The AES key should be encrypted using OAEP with the wrapping key and then concatenated with the import key, wrapped by the AES key.
|
|
* @type {string}
|
|
* @memberof TransitImportKeyVersionRequest
|
|
*/
|
|
ciphertext?: string;
|
|
/**
|
|
* The hash function used as a random oracle in the OAEP wrapping of the user-generated, ephemeral AES key. Can be one of "SHA1", "SHA224", "SHA256" (default), "SHA384", or "SHA512"
|
|
* @type {string}
|
|
* @memberof TransitImportKeyVersionRequest
|
|
*/
|
|
hashFunction?: string;
|
|
/**
|
|
* The plaintext public key to be imported. If "ciphertext" is set, this field is ignored.
|
|
* @type {string}
|
|
* @memberof TransitImportKeyVersionRequest
|
|
*/
|
|
publicKey?: string;
|
|
/**
|
|
* Key version to be updated, if left empty, a new version will be created unless a private key is specified and the 'Latest' key is missing a private key.
|
|
* @type {number}
|
|
* @memberof TransitImportKeyVersionRequest
|
|
*/
|
|
version?: number;
|
|
}
|
|
/**
|
|
* Check if a given object implements the TransitImportKeyVersionRequest interface.
|
|
*/
|
|
export declare function instanceOfTransitImportKeyVersionRequest(value: object): value is TransitImportKeyVersionRequest;
|
|
export declare function TransitImportKeyVersionRequestFromJSON(json: any): TransitImportKeyVersionRequest;
|
|
export declare function TransitImportKeyVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransitImportKeyVersionRequest;
|
|
export declare function TransitImportKeyVersionRequestToJSON(json: any): TransitImportKeyVersionRequest;
|
|
export declare function TransitImportKeyVersionRequestToJSONTyped(value?: TransitImportKeyVersionRequest | null, ignoreDiscriminator?: boolean): any;
|