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