/** * 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 KeyManagementDistributeKeyInKmsProviderRequest */ export interface KeyManagementDistributeKeyInKmsProviderRequest { /** * Specifies where cryptographic operations are performed with the key in the KMS provider. Currently, "software" and "hsm" are supported. The default is "hsm". * @type {string} * @memberof KeyManagementDistributeKeyInKmsProviderRequest */ protection?: KeyManagementDistributeKeyInKmsProviderRequestProtectionEnum; /** * Specifies the cryptographic capabilities of the key in the KMS provider. Currently, "encrypt", "decrypt", "sign", "verify", "wrap", and "unwrap" are supported. * @type {Array} * @memberof KeyManagementDistributeKeyInKmsProviderRequest */ purpose: KeyManagementDistributeKeyInKmsProviderRequestPurposeEnum; } /** * @export * @enum {string} */ export declare enum KeyManagementDistributeKeyInKmsProviderRequestProtectionEnum { HSM = "hsm", SOFTWARE = "software" } /** * @export * @enum {string} */ export declare enum KeyManagementDistributeKeyInKmsProviderRequestPurposeEnum { } /** * Check if a given object implements the KeyManagementDistributeKeyInKmsProviderRequest interface. */ export declare function instanceOfKeyManagementDistributeKeyInKmsProviderRequest(value: object): value is KeyManagementDistributeKeyInKmsProviderRequest; export declare function KeyManagementDistributeKeyInKmsProviderRequestFromJSON(json: any): KeyManagementDistributeKeyInKmsProviderRequest; export declare function KeyManagementDistributeKeyInKmsProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyManagementDistributeKeyInKmsProviderRequest; export declare function KeyManagementDistributeKeyInKmsProviderRequestToJSON(json: any): KeyManagementDistributeKeyInKmsProviderRequest; export declare function KeyManagementDistributeKeyInKmsProviderRequestToJSONTyped(value?: KeyManagementDistributeKeyInKmsProviderRequest | null, ignoreDiscriminator?: boolean): any;