Viewing docs for authentik 2026.8.0
published on Wednesday, Sep 9, 2026 by goauthentik
published on Wednesday, Sep 9, 2026 by goauthentik
Viewing docs for authentik 2026.8.0
published on Wednesday, Sep 9, 2026 by goauthentik
published on Wednesday, Sep 9, 2026 by goauthentik
Get policy bindings by id or target
Using getPolicyBinding
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 getPolicyBinding(args: GetPolicyBindingArgs, opts?: InvokeOptions): Promise<GetPolicyBindingResult>
function getPolicyBindingOutput(args: GetPolicyBindingOutputArgs, opts?: InvokeOutputOptions): Output<GetPolicyBindingResult>def get_policy_binding(group: Optional[str] = None,
id: Optional[str] = None,
order: Optional[float] = None,
policy: Optional[str] = None,
target: Optional[str] = None,
user: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyBindingResult
def get_policy_binding_output(group: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
order: pulumi.Input[Optional[float]] = None,
policy: pulumi.Input[Optional[str]] = None,
target: pulumi.Input[Optional[str]] = None,
user: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPolicyBindingResult]func LookupPolicyBinding(ctx *Context, args *LookupPolicyBindingArgs, opts ...InvokeOption) (*LookupPolicyBindingResult, error)
func LookupPolicyBindingOutput(ctx *Context, args *LookupPolicyBindingOutputArgs, opts ...InvokeOption) LookupPolicyBindingResultOutput> Note: This function is named LookupPolicyBinding in the Go SDK.
public static class GetPolicyBinding
{
public static Task<GetPolicyBindingResult> InvokeAsync(GetPolicyBindingArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyBindingResult> Invoke(GetPolicyBindingInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyBindingResult> Invoke(GetPolicyBindingInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPolicyBindingResult> getPolicyBinding(GetPolicyBindingArgs args, InvokeOptions options)
public static Output<GetPolicyBindingResult> getPolicyBinding(GetPolicyBindingArgs args, InvokeOptions options)
public static Output<GetPolicyBindingResult> getPolicyBinding(GetPolicyBindingArgs args, InvokeOutputOptions options)
fn::invoke:
function: authentik:index/getPolicyBinding:getPolicyBinding
arguments:
# arguments dictionarydata "authentik_get_policy_binding" "name" {
# arguments
}The following arguments are supported:
getPolicyBinding Result
The following output properties are available:
- Enabled bool
- Generated.
- Failure
Result bool - Generated.
- Group string
- UUID of the group Generated.
- Id string
- Generated.
- Negate bool
- Generated.
- Order double
- Order of the policy binding within the target Generated.
- Policy string
- UUID of the policy Generated.
- Target string
- ID of the object this binding should apply to Generated.
- Timeout double
- Generated.
- User double
- PK of the user Generated.
- Enabled bool
- Generated.
- Failure
Result bool - Generated.
- Group string
- UUID of the group Generated.
- Id string
- Generated.
- Negate bool
- Generated.
- Order float64
- Order of the policy binding within the target Generated.
- Policy string
- UUID of the policy Generated.
- Target string
- ID of the object this binding should apply to Generated.
- Timeout float64
- Generated.
- User float64
- PK of the user Generated.
- enabled bool
- Generated.
- failure_
result bool - Generated.
- group string
- UUID of the group Generated.
- id string
- Generated.
- negate bool
- Generated.
- order number
- Order of the policy binding within the target Generated.
- policy string
- UUID of the policy Generated.
- target string
- ID of the object this binding should apply to Generated.
- timeout number
- Generated.
- user number
- PK of the user Generated.
- enabled Boolean
- Generated.
- failure
Result Boolean - Generated.
- group String
- UUID of the group Generated.
- id String
- Generated.
- negate Boolean
- Generated.
- order Double
- Order of the policy binding within the target Generated.
- policy String
- UUID of the policy Generated.
- target String
- ID of the object this binding should apply to Generated.
- timeout Double
- Generated.
- user Double
- PK of the user Generated.
- enabled boolean
- Generated.
- failure
Result boolean - Generated.
- group string
- UUID of the group Generated.
- id string
- Generated.
- negate boolean
- Generated.
- order number
- Order of the policy binding within the target Generated.
- policy string
- UUID of the policy Generated.
- target string
- ID of the object this binding should apply to Generated.
- timeout number
- Generated.
- user number
- PK of the user Generated.
- enabled bool
- Generated.
- failure_
result bool - Generated.
- group str
- UUID of the group Generated.
- id str
- Generated.
- negate bool
- Generated.
- order float
- Order of the policy binding within the target Generated.
- policy str
- UUID of the policy Generated.
- target str
- ID of the object this binding should apply to Generated.
- timeout float
- Generated.
- user float
- PK of the user Generated.
- enabled Boolean
- Generated.
- failure
Result Boolean - Generated.
- group String
- UUID of the group Generated.
- id String
- Generated.
- negate Boolean
- Generated.
- order Number
- Order of the policy binding within the target Generated.
- policy String
- UUID of the policy Generated.
- target String
- ID of the object this binding should apply to Generated.
- timeout Number
- Generated.
- user Number
- PK of the user Generated.
Package Details
- Repository
- authentik goauthentik/terraform-provider-authentik
- License
- Notes
- This Pulumi package is based on the
authentikTerraform Provider.
Viewing docs for authentik 2026.8.0
published on Wednesday, Sep 9, 2026 by goauthentik
published on Wednesday, Sep 9, 2026 by goauthentik