"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.getSecretsOutput = exports.getSecrets = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of kms secrets
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.kms.getSecrets({
 *     descriptions: [
 *         "tf-1",
 *         "tf-2",
 *     ],
 *     secretNames: [
 *         "5r3",
 *         "5r",
 *         "tf",
 *     ],
 * });
 * ```
 */
function getSecrets(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:kms/getSecrets:getSecrets", {
        "creationDateRanges": args.creationDateRanges,
        "descriptions": args.descriptions,
        "managedStates": args.managedStates,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "owningServices": args.owningServices,
        "projectName": args.projectName,
        "rotationStates": args.rotationStates,
        "secretNames": args.secretNames,
        "secretStates": args.secretStates,
        "secretTypes": args.secretTypes,
        "trns": args.trns,
        "updateDateRanges": args.updateDateRanges,
    }, opts);
}
exports.getSecrets = getSecrets;
/**
 * Use this data source to query detailed information of kms secrets
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.kms.getSecrets({
 *     descriptions: [
 *         "tf-1",
 *         "tf-2",
 *     ],
 *     secretNames: [
 *         "5r3",
 *         "5r",
 *         "tf",
 *     ],
 * });
 * ```
 */
function getSecretsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getSecrets(a, opts));
}
exports.getSecretsOutput = getSecretsOutput;
//# sourceMappingURL=getSecrets.js.map