@osmit-gmbh/pulumi-authentik
Version:
A Pulumi package for creating and managing authentik cloud resources.
136 lines (135 loc) • 6.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as authentik from "@osmit-gmbh/pulumi-authentik";
* import * as authentik from "@pulumi/authentik";
*
* // Create a proxy provider
* const default-authorization-flow = authentik.getFlow({
* slug: "default-provider-authorization-implicit-consent",
* });
* const name = new authentik.ProviderProxy("name", {
* name: "test-app",
* internalHost: "http://foo.bar.baz",
* externalHost: "http://internal.service",
* authorizationFlow: default_authorization_flow.then(default_authorization_flow => default_authorization_flow.id),
* });
* const nameApplication = new authentik.Application("name", {
* name: "test-app",
* slug: "test-app",
* protocolProvider: name.id,
* });
* ```
*/
export declare class ProviderProxy extends pulumi.CustomResource {
/**
* Get an existing ProviderProxy resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProviderProxyState, opts?: pulumi.CustomResourceOptions): ProviderProxy;
/**
* Returns true if the given object is an instance of ProviderProxy. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ProviderProxy;
readonly accessTokenValidity: pulumi.Output<string | undefined>;
readonly authenticationFlow: pulumi.Output<string | undefined>;
readonly authorizationFlow: pulumi.Output<string>;
readonly basicAuthEnabled: pulumi.Output<boolean | undefined>;
readonly basicAuthPasswordAttribute: pulumi.Output<string | undefined>;
readonly basicAuthUsernameAttribute: pulumi.Output<string | undefined>;
readonly clientId: pulumi.Output<string>;
readonly cookieDomain: pulumi.Output<string | undefined>;
readonly externalHost: pulumi.Output<string>;
readonly interceptHeaderAuth: pulumi.Output<boolean | undefined>;
readonly internalHost: pulumi.Output<string | undefined>;
readonly internalHostSslValidation: pulumi.Output<boolean | undefined>;
readonly invalidationFlow: pulumi.Output<string>;
/**
* JWTs issued by keys configured in any of the selected sources can be used to authenticate on behalf of this provider.
*/
readonly jwksSources: pulumi.Output<string[] | undefined>;
/**
* Allowed values: - `proxy` - `forwardSingle` - `forwardDomain`
*/
readonly mode: pulumi.Output<string | undefined>;
readonly name: pulumi.Output<string>;
readonly propertyMappings: pulumi.Output<string[] | undefined>;
readonly refreshTokenValidity: pulumi.Output<string | undefined>;
readonly skipPathRegex: pulumi.Output<string | undefined>;
/**
* Create a ProviderProxy resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ProviderProxyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ProviderProxy resources.
*/
export interface ProviderProxyState {
accessTokenValidity?: pulumi.Input<string>;
authenticationFlow?: pulumi.Input<string>;
authorizationFlow?: pulumi.Input<string>;
basicAuthEnabled?: pulumi.Input<boolean>;
basicAuthPasswordAttribute?: pulumi.Input<string>;
basicAuthUsernameAttribute?: pulumi.Input<string>;
clientId?: pulumi.Input<string>;
cookieDomain?: pulumi.Input<string>;
externalHost?: pulumi.Input<string>;
interceptHeaderAuth?: pulumi.Input<boolean>;
internalHost?: pulumi.Input<string>;
internalHostSslValidation?: pulumi.Input<boolean>;
invalidationFlow?: pulumi.Input<string>;
/**
* JWTs issued by keys configured in any of the selected sources can be used to authenticate on behalf of this provider.
*/
jwksSources?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Allowed values: - `proxy` - `forwardSingle` - `forwardDomain`
*/
mode?: pulumi.Input<string>;
name?: pulumi.Input<string>;
propertyMappings?: pulumi.Input<pulumi.Input<string>[]>;
refreshTokenValidity?: pulumi.Input<string>;
skipPathRegex?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ProviderProxy resource.
*/
export interface ProviderProxyArgs {
accessTokenValidity?: pulumi.Input<string>;
authenticationFlow?: pulumi.Input<string>;
authorizationFlow: pulumi.Input<string>;
basicAuthEnabled?: pulumi.Input<boolean>;
basicAuthPasswordAttribute?: pulumi.Input<string>;
basicAuthUsernameAttribute?: pulumi.Input<string>;
cookieDomain?: pulumi.Input<string>;
externalHost: pulumi.Input<string>;
interceptHeaderAuth?: pulumi.Input<boolean>;
internalHost?: pulumi.Input<string>;
internalHostSslValidation?: pulumi.Input<boolean>;
invalidationFlow: pulumi.Input<string>;
/**
* JWTs issued by keys configured in any of the selected sources can be used to authenticate on behalf of this provider.
*/
jwksSources?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Allowed values: - `proxy` - `forwardSingle` - `forwardDomain`
*/
mode?: pulumi.Input<string>;
name?: pulumi.Input<string>;
propertyMappings?: pulumi.Input<pulumi.Input<string>[]>;
refreshTokenValidity?: pulumi.Input<string>;
skipPathRegex?: pulumi.Input<string>;
}