UNPKG

@pulumi/vault

Version:

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

50 lines 2.3 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.getAuthBackendConfigOutput = exports.getAuthBackendConfig = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Reads the Role of an Kubernetes from a Vault server. See the [Vault * documentation](https://www.vaultproject.io/api-docs/auth/kubernetes#read-config) for more * information. */ function getAuthBackendConfig(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("vault:kubernetes/getAuthBackendConfig:getAuthBackendConfig", { "backend": args.backend, "disableIssValidation": args.disableIssValidation, "disableLocalCaJwt": args.disableLocalCaJwt, "issuer": args.issuer, "kubernetesCaCert": args.kubernetesCaCert, "kubernetesHost": args.kubernetesHost, "namespace": args.namespace, "pemKeys": args.pemKeys, "useAnnotationsAsAliasMetadata": args.useAnnotationsAsAliasMetadata, }, opts); } exports.getAuthBackendConfig = getAuthBackendConfig; /** * Reads the Role of an Kubernetes from a Vault server. See the [Vault * documentation](https://www.vaultproject.io/api-docs/auth/kubernetes#read-config) for more * information. */ function getAuthBackendConfigOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("vault:kubernetes/getAuthBackendConfig:getAuthBackendConfig", { "backend": args.backend, "disableIssValidation": args.disableIssValidation, "disableLocalCaJwt": args.disableLocalCaJwt, "issuer": args.issuer, "kubernetesCaCert": args.kubernetesCaCert, "kubernetesHost": args.kubernetesHost, "namespace": args.namespace, "pemKeys": args.pemKeys, "useAnnotationsAsAliasMetadata": args.useAnnotationsAsAliasMetadata, }, opts); } exports.getAuthBackendConfigOutput = getAuthBackendConfigOutput; //# sourceMappingURL=getAuthBackendConfig.js.map