@pulumi/vault
Version:
A Pulumi package for creating and managing HashiCorp Vault cloud resources.
47 lines • 2.68 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.SecretV2 = exports.SecretBackendV2 = exports.Secret = exports.getSecretsListV2Output = exports.getSecretsListV2 = exports.getSecretsListOutput = exports.getSecretsList = exports.getSecretV2Output = exports.getSecretV2 = exports.getSecretSubkeysV2Output = exports.getSecretSubkeysV2 = exports.getSecretOutput = exports.getSecret = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.getSecret = null;
exports.getSecretOutput = null;
utilities.lazyLoad(exports, ["getSecret", "getSecretOutput"], () => require("./getSecret"));
exports.getSecretSubkeysV2 = null;
exports.getSecretSubkeysV2Output = null;
utilities.lazyLoad(exports, ["getSecretSubkeysV2", "getSecretSubkeysV2Output"], () => require("./getSecretSubkeysV2"));
exports.getSecretV2 = null;
exports.getSecretV2Output = null;
utilities.lazyLoad(exports, ["getSecretV2", "getSecretV2Output"], () => require("./getSecretV2"));
exports.getSecretsList = null;
exports.getSecretsListOutput = null;
utilities.lazyLoad(exports, ["getSecretsList", "getSecretsListOutput"], () => require("./getSecretsList"));
exports.getSecretsListV2 = null;
exports.getSecretsListV2Output = null;
utilities.lazyLoad(exports, ["getSecretsListV2", "getSecretsListV2Output"], () => require("./getSecretsListV2"));
exports.Secret = null;
utilities.lazyLoad(exports, ["Secret"], () => require("./secret"));
exports.SecretBackendV2 = null;
utilities.lazyLoad(exports, ["SecretBackendV2"], () => require("./secretBackendV2"));
exports.SecretV2 = null;
utilities.lazyLoad(exports, ["SecretV2"], () => require("./secretV2"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "vault:kv/secret:Secret":
return new exports.Secret(name, undefined, { urn });
case "vault:kv/secretBackendV2:SecretBackendV2":
return new exports.SecretBackendV2(name, undefined, { urn });
case "vault:kv/secretV2:SecretV2":
return new exports.SecretV2(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("vault", "kv/secret", _module);
pulumi.runtime.registerResourceModule("vault", "kv/secretBackendV2", _module);
pulumi.runtime.registerResourceModule("vault", "kv/secretV2", _module);
//# sourceMappingURL=index.js.map