mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 00:21:07 +02:00
* removes dist from api-client gitignore * ignores api-client/dist directory for eslint and prettier * builds api client
69 lines
2.6 KiB
TypeScript
69 lines
2.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.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 TransitRewrapRequest
|
|
*/
|
|
export interface TransitRewrapRequest {
|
|
/**
|
|
* Specifies a list of items to be re-encrypted in a single batch. When this parameter is set, if the parameters 'ciphertext', 'context' and 'nonce' are also set, they will be ignored. Any batch output will preserve the order of the batch input.
|
|
* @type {Array<object>}
|
|
* @memberof TransitRewrapRequest
|
|
*/
|
|
batchInput?: Array<object>;
|
|
/**
|
|
* Ciphertext value to rewrap
|
|
* @type {string}
|
|
* @memberof TransitRewrapRequest
|
|
*/
|
|
ciphertext?: string;
|
|
/**
|
|
* Base64 encoded context for key derivation. Required for derived keys.
|
|
* @type {string}
|
|
* @memberof TransitRewrapRequest
|
|
*/
|
|
context?: string;
|
|
/**
|
|
* The padding scheme to use for rewrap's decrypt step. Currently only applies to RSA key types. Options are 'oaep' or 'pkcs1v15'. Defaults to 'oaep'
|
|
* @type {string}
|
|
* @memberof TransitRewrapRequest
|
|
*/
|
|
decryptPaddingScheme?: string;
|
|
/**
|
|
* The padding scheme to use for rewrap's encrypt step. Currently only applies to RSA key types. Options are 'oaep' or 'pkcs1v15'. Defaults to 'oaep'
|
|
* @type {string}
|
|
* @memberof TransitRewrapRequest
|
|
*/
|
|
encryptPaddingScheme?: string;
|
|
/**
|
|
* The version of the key to use for encryption. Must be 0 (for latest) or a value greater than or equal to the min_encryption_version configured on the key.
|
|
* @type {number}
|
|
* @memberof TransitRewrapRequest
|
|
*/
|
|
keyVersion?: number;
|
|
/**
|
|
* Nonce for when convergent encryption is used
|
|
* @type {string}
|
|
* @memberof TransitRewrapRequest
|
|
*/
|
|
nonce?: string;
|
|
}
|
|
/**
|
|
* Check if a given object implements the TransitRewrapRequest interface.
|
|
*/
|
|
export declare function instanceOfTransitRewrapRequest(value: object): value is TransitRewrapRequest;
|
|
export declare function TransitRewrapRequestFromJSON(json: any): TransitRewrapRequest;
|
|
export declare function TransitRewrapRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransitRewrapRequest;
|
|
export declare function TransitRewrapRequestToJSON(json: any): TransitRewrapRequest;
|
|
export declare function TransitRewrapRequestToJSONTyped(value?: TransitRewrapRequest | null, ignoreDiscriminator?: boolean): any;
|