UNPKG

@osmit-gmbh/pulumi-authentik

Version:

A Pulumi package for creating and managing authentik cloud resources.

58 lines 2.09 kB
"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.getCertificateKeyPairOutput = exports.getCertificateKeyPair = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get certificate-key pairs by name * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the the ID and other info about a certificate * const generated = authentik.getCertificateKeyPair({ * name: "authentik Self-signed Certificate", * }); * ``` */ function getCertificateKeyPair(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("authentik:index/getCertificateKeyPair:getCertificateKeyPair", { "fetchCertificate": args.fetchCertificate, "fetchKey": args.fetchKey, "keyData": args.keyData, "name": args.name, }, opts); } exports.getCertificateKeyPair = getCertificateKeyPair; /** * Get certificate-key pairs by name * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the the ID and other info about a certificate * const generated = authentik.getCertificateKeyPair({ * name: "authentik Self-signed Certificate", * }); * ``` */ function getCertificateKeyPairOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("authentik:index/getCertificateKeyPair:getCertificateKeyPair", { "fetchCertificate": args.fetchCertificate, "fetchKey": args.fetchKey, "keyData": args.keyData, "name": args.name, }, opts); } exports.getCertificateKeyPairOutput = getCertificateKeyPairOutput; //# sourceMappingURL=getCertificateKeyPair.js.map