"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getKeysOutput = exports.getKeys = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of kms keys
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.kms.getKeys({
 *     creationDateRanges: [
 *         "2025-06-01 19:48:06",
 *         "2025-06-04 19:48:06",
 *     ],
 *     descriptions: ["tf-test"],
 *     keyNames: [
 *         "mrk-tf-key-mod",
 *         "mrk-tf-key",
 *     ],
 *     keySpecs: ["SYMMETRIC_256"],
 *     keyStates: ["Enable"],
 *     keyUsages: ["ENCRYPT_DECRYPT"],
 *     keyringId: "7a358829-bd5a-4763-ba77-7500ecxxxxxx",
 *     origins: ["CloudKMS"],
 *     protectionLevels: ["SOFTWARE"],
 *     rotateStates: ["Enable"],
 *     tags: [{
 *         key: "tf-k1",
 *         values: ["tf-v1"],
 *     }],
 *     updateDateRanges: [
 *         "2025-06-01 19:48:06",
 *         "2025-06-04 19:48:06",
 *     ],
 * });
 * ```
 */
function getKeys(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:kms/getKeys:getKeys", {
        "creationDateRanges": args.creationDateRanges,
        "descriptions": args.descriptions,
        "keyNames": args.keyNames,
        "keySpecs": args.keySpecs,
        "keyStates": args.keyStates,
        "keyUsages": args.keyUsages,
        "keyringId": args.keyringId,
        "keyringName": args.keyringName,
        "nameRegex": args.nameRegex,
        "origins": args.origins,
        "outputFile": args.outputFile,
        "protectionLevels": args.protectionLevels,
        "rotateStates": args.rotateStates,
        "tags": args.tags,
        "updateDateRanges": args.updateDateRanges,
    }, opts);
}
exports.getKeys = getKeys;
/**
 * Use this data source to query detailed information of kms keys
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.kms.getKeys({
 *     creationDateRanges: [
 *         "2025-06-01 19:48:06",
 *         "2025-06-04 19:48:06",
 *     ],
 *     descriptions: ["tf-test"],
 *     keyNames: [
 *         "mrk-tf-key-mod",
 *         "mrk-tf-key",
 *     ],
 *     keySpecs: ["SYMMETRIC_256"],
 *     keyStates: ["Enable"],
 *     keyUsages: ["ENCRYPT_DECRYPT"],
 *     keyringId: "7a358829-bd5a-4763-ba77-7500ecxxxxxx",
 *     origins: ["CloudKMS"],
 *     protectionLevels: ["SOFTWARE"],
 *     rotateStates: ["Enable"],
 *     tags: [{
 *         key: "tf-k1",
 *         values: ["tf-v1"],
 *     }],
 *     updateDateRanges: [
 *         "2025-06-01 19:48:06",
 *         "2025-06-04 19:48:06",
 *     ],
 * });
 * ```
 */
function getKeysOutput(args, opts) {
    return pulumi.output(args).apply((a) => getKeys(a, opts));
}
exports.getKeysOutput = getKeysOutput;
//# sourceMappingURL=getKeys.js.map