authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik
authentik.getPropertyMappingProviderScope
Explore with Pulumi AI
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik
Get OAuth Provider Scope Property mappings
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";
const test = authentik.getPropertyMappingProviderScope({
managedLists: [
"goauthentik.io/providers/oauth2/scope-email",
"goauthentik.io/providers/oauth2/scope-openid",
],
});
import pulumi
import pulumi_authentik as authentik
test = authentik.get_property_mapping_provider_scope(managed_lists=[
"goauthentik.io/providers/oauth2/scope-email",
"goauthentik.io/providers/oauth2/scope-openid",
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/authentik/v2025/authentik"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := authentik.LookupPropertyMappingProviderScope(ctx, &authentik.LookupPropertyMappingProviderScopeArgs{
ManagedLists: []string{
"goauthentik.io/providers/oauth2/scope-email",
"goauthentik.io/providers/oauth2/scope-openid",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;
return await Deployment.RunAsync(() =>
{
var test = Authentik.GetPropertyMappingProviderScope.Invoke(new()
{
ManagedLists = new[]
{
"goauthentik.io/providers/oauth2/scope-email",
"goauthentik.io/providers/oauth2/scope-openid",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.authentik.AuthentikFunctions;
import com.pulumi.authentik.inputs.GetPropertyMappingProviderScopeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = AuthentikFunctions.getPropertyMappingProviderScope(GetPropertyMappingProviderScopeArgs.builder()
.managedLists(
"goauthentik.io/providers/oauth2/scope-email",
"goauthentik.io/providers/oauth2/scope-openid")
.build());
}
}
variables:
test:
fn::invoke:
function: authentik:getPropertyMappingProviderScope
arguments:
managedLists:
- goauthentik.io/providers/oauth2/scope-email
- goauthentik.io/providers/oauth2/scope-openid
Using getPropertyMappingProviderScope
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPropertyMappingProviderScope(args: GetPropertyMappingProviderScopeArgs, opts?: InvokeOptions): Promise<GetPropertyMappingProviderScopeResult>
function getPropertyMappingProviderScopeOutput(args: GetPropertyMappingProviderScopeOutputArgs, opts?: InvokeOptions): Output<GetPropertyMappingProviderScopeResult>
def get_property_mapping_provider_scope(id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
managed: Optional[str] = None,
managed_lists: Optional[Sequence[str]] = None,
name: Optional[str] = None,
scope_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPropertyMappingProviderScopeResult
def get_property_mapping_provider_scope_output(id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
managed: Optional[pulumi.Input[str]] = None,
managed_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
scope_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPropertyMappingProviderScopeResult]
func LookupPropertyMappingProviderScope(ctx *Context, args *LookupPropertyMappingProviderScopeArgs, opts ...InvokeOption) (*LookupPropertyMappingProviderScopeResult, error)
func LookupPropertyMappingProviderScopeOutput(ctx *Context, args *LookupPropertyMappingProviderScopeOutputArgs, opts ...InvokeOption) LookupPropertyMappingProviderScopeResultOutput
> Note: This function is named LookupPropertyMappingProviderScope
in the Go SDK.
public static class GetPropertyMappingProviderScope
{
public static Task<GetPropertyMappingProviderScopeResult> InvokeAsync(GetPropertyMappingProviderScopeArgs args, InvokeOptions? opts = null)
public static Output<GetPropertyMappingProviderScopeResult> Invoke(GetPropertyMappingProviderScopeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPropertyMappingProviderScopeResult> getPropertyMappingProviderScope(GetPropertyMappingProviderScopeArgs args, InvokeOptions options)
public static Output<GetPropertyMappingProviderScopeResult> getPropertyMappingProviderScope(GetPropertyMappingProviderScopeArgs args, InvokeOptions options)
fn::invoke:
function: authentik:index/getPropertyMappingProviderScope:getPropertyMappingProviderScope
arguments:
# arguments dictionary
The following arguments are supported:
- id str
- The ID of this resource.
- ids Sequence[str]
- List of ids when
managed_list
is set. Generated. - managed str
- managed_
lists Sequence[str] - Retrieve multiple property mappings
- name str
- scope_
name str - Generated.
getPropertyMappingProviderScope Result
The following output properties are available:
- Description string
- Generated.
- Expression string
- Generated.
- Id string
- The ID of this resource.
- Ids List<string>
- List of ids when
managed_list
is set. Generated. - Scope
Name string - Generated.
- Managed string
- Managed
Lists List<string> - Retrieve multiple property mappings
- Name string
- Description string
- Generated.
- Expression string
- Generated.
- Id string
- The ID of this resource.
- Ids []string
- List of ids when
managed_list
is set. Generated. - Scope
Name string - Generated.
- Managed string
- Managed
Lists []string - Retrieve multiple property mappings
- Name string
- description String
- Generated.
- expression String
- Generated.
- id String
- The ID of this resource.
- ids List<String>
- List of ids when
managed_list
is set. Generated. - scope
Name String - Generated.
- managed String
- managed
Lists List<String> - Retrieve multiple property mappings
- name String
- description string
- Generated.
- expression string
- Generated.
- id string
- The ID of this resource.
- ids string[]
- List of ids when
managed_list
is set. Generated. - scope
Name string - Generated.
- managed string
- managed
Lists string[] - Retrieve multiple property mappings
- name string
- description str
- Generated.
- expression str
- Generated.
- id str
- The ID of this resource.
- ids Sequence[str]
- List of ids when
managed_list
is set. Generated. - scope_
name str - Generated.
- managed str
- managed_
lists Sequence[str] - Retrieve multiple property mappings
- name str
- description String
- Generated.
- expression String
- Generated.
- id String
- The ID of this resource.
- ids List<String>
- List of ids when
managed_list
is set. Generated. - scope
Name String - Generated.
- managed String
- managed
Lists List<String> - Retrieve multiple property mappings
- name String
Package Details
- Repository
- authentik goauthentik/terraform-provider-authentik
- License
- Notes
- This Pulumi package is based on the
authentik
Terraform Provider.
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik