UNPKG

@osmit-gmbh/pulumi-authentik

Version:

A Pulumi package for creating and managing authentik cloud resources.

78 lines 2.79 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.getBrandOutput = exports.getBrand = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get brands by domain * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the details of a brand by domain * const authentik-default = authentik.getBrand({ * domain: "authentik-default", * }); * ``` */ function getBrand(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("authentik:index/getBrand:getBrand", { "brandingFavicon": args.brandingFavicon, "brandingLogo": args.brandingLogo, "brandingTitle": args.brandingTitle, "default": args.default, "defaultApplication": args.defaultApplication, "domain": args.domain, "flowAuthentication": args.flowAuthentication, "flowDeviceCode": args.flowDeviceCode, "flowInvalidation": args.flowInvalidation, "flowRecovery": args.flowRecovery, "flowUnenrollment": args.flowUnenrollment, "flowUserSettings": args.flowUserSettings, "webCertificate": args.webCertificate, }, opts); } exports.getBrand = getBrand; /** * Get brands by domain * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as authentik from "@pulumi/authentik"; * * // To get the details of a brand by domain * const authentik-default = authentik.getBrand({ * domain: "authentik-default", * }); * ``` */ function getBrandOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("authentik:index/getBrand:getBrand", { "brandingFavicon": args.brandingFavicon, "brandingLogo": args.brandingLogo, "brandingTitle": args.brandingTitle, "default": args.default, "defaultApplication": args.defaultApplication, "domain": args.domain, "flowAuthentication": args.flowAuthentication, "flowDeviceCode": args.flowDeviceCode, "flowInvalidation": args.flowInvalidation, "flowRecovery": args.flowRecovery, "flowUnenrollment": args.flowUnenrollment, "flowUserSettings": args.flowUserSettings, "webCertificate": args.webCertificate, }, opts); } exports.getBrandOutput = getBrandOutput; //# sourceMappingURL=getBrand.js.map