mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 14:47:01 +02:00
45 lines
1.5 KiB
TypeScript
45 lines
1.5 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 GenerateHashRequest
|
|
*/
|
|
export interface GenerateHashRequest {
|
|
/**
|
|
* Algorithm to use (POST body parameter). Valid values are: * sha2-224 * sha2-256 * sha2-384 * sha2-512 Defaults to "sha2-256".
|
|
* @type {string}
|
|
* @memberof GenerateHashRequest
|
|
*/
|
|
algorithm?: string;
|
|
/**
|
|
* Encoding format to use. Can be "hex" or "base64". Defaults to "hex".
|
|
* @type {string}
|
|
* @memberof GenerateHashRequest
|
|
*/
|
|
format?: string;
|
|
/**
|
|
* The base64-encoded input data
|
|
* @type {string}
|
|
* @memberof GenerateHashRequest
|
|
*/
|
|
input?: string;
|
|
}
|
|
/**
|
|
* Check if a given object implements the GenerateHashRequest interface.
|
|
*/
|
|
export declare function instanceOfGenerateHashRequest(value: object): value is GenerateHashRequest;
|
|
export declare function GenerateHashRequestFromJSON(json: any): GenerateHashRequest;
|
|
export declare function GenerateHashRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateHashRequest;
|
|
export declare function GenerateHashRequestToJSON(json: any): GenerateHashRequest;
|
|
export declare function GenerateHashRequestToJSONTyped(value?: GenerateHashRequest | null, ignoreDiscriminator?: boolean): any;
|