UNPKG

@pulumi/vault

Version:

A Pulumi package for creating and managing HashiCorp Vault cloud resources.

66 lines 2.13 kB
"use strict"; // *** 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.getEntityOutput = exports.getEntity = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vault from "@pulumi/vault"; * * const entity = vault.identity.getEntity({ * entityName: "entity_12345", * }); * ``` * * ## Required Vault Capabilities * * Use of this resource requires the `update` capability on `/identity/lookup/entity`. */ function getEntity(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("vault:identity/getEntity:getEntity", { "aliasId": args.aliasId, "aliasMountAccessor": args.aliasMountAccessor, "aliasName": args.aliasName, "entityId": args.entityId, "entityName": args.entityName, "namespace": args.namespace, }, opts); } exports.getEntity = getEntity; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vault from "@pulumi/vault"; * * const entity = vault.identity.getEntity({ * entityName: "entity_12345", * }); * ``` * * ## Required Vault Capabilities * * Use of this resource requires the `update` capability on `/identity/lookup/entity`. */ function getEntityOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("vault:identity/getEntity:getEntity", { "aliasId": args.aliasId, "aliasMountAccessor": args.aliasMountAccessor, "aliasName": args.aliasName, "entityId": args.entityId, "entityName": args.entityName, "namespace": args.namespace, }, opts); } exports.getEntityOutput = getEntityOutput; //# sourceMappingURL=getEntity.js.map