/* tslint:disable */
/* eslint-disable */
/**
 * KubeBlocks Cloud API
 * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources.  The API is organized around REST.  Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs.  We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. 
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@apecloud.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


// May contain unused imports in some cases
// @ts-ignore
import type { EncryptionAlgorithm } from './encryption-algorithm';
// May contain unused imports in some cases
// @ts-ignore
import type { EncryptionKeyUsage } from './encryption-key-usage';

/**
 * mutiple kv pair
 * @export
 * @interface Key
 */
export interface Key {
    /**
     * The unique identifier of the key.
     * @type {string}
     * @memberof Key
     */
    'id'?: string;
    /**
     * The name of the key.
     * @type {string}
     * @memberof Key
     */
    'name'?: string;
    /**
     * 
     * @type {EncryptionAlgorithm}
     * @memberof Key
     */
    'algorithm'?: EncryptionAlgorithm;
    /**
     * 
     * @type {EncryptionKeyUsage}
     * @memberof Key
     */
    'keyUsage'?: EncryptionKeyUsage;
    /**
     * the clusters which use the key
     * @type {Array<string>}
     * @memberof Key
     */
    'clusters'?: Array<string>;
    /**
     * the backups which use the key
     * @type {Array<string>}
     * @memberof Key
     */
    'backups'?: Array<string>;
    /**
     * The creation timestamp of the key.
     * @type {string}
     * @memberof Key
     */
    'createdAt'?: string;
    /**
     * The last update timestamp of the key.
     * @type {string}
     * @memberof Key
     */
    'updatedAt'?: string;
    /**
     * the key content. This field will not be included in list/get response.
     * @type {string}
     * @memberof Key
     */
    'key'?: string;
}



