1. Packages
  2. Authentik Provider
  3. API Docs
  4. ProviderRadius
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik

authentik.ProviderRadius

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";

const default_authentication_flow = authentik.getFlow({
    slug: "default-authentication-flow",
});
const nameProviderRadius = new authentik.ProviderRadius("nameProviderRadius", {
    authorizationFlow: default_authentication_flow.then(default_authentication_flow => default_authentication_flow.id),
    clientNetworks: "10.10.0.0/24",
    sharedSecret: "my-shared-secret",
});
const nameApplication = new authentik.Application("nameApplication", {
    slug: "radius-app",
    protocolProvider: nameProviderRadius.providerRadiusId,
});
Copy
import pulumi
import pulumi_authentik as authentik

default_authentication_flow = authentik.get_flow(slug="default-authentication-flow")
name_provider_radius = authentik.ProviderRadius("nameProviderRadius",
    authorization_flow=default_authentication_flow.id,
    client_networks="10.10.0.0/24",
    shared_secret="my-shared-secret")
name_application = authentik.Application("nameApplication",
    slug="radius-app",
    protocol_provider=name_provider_radius.provider_radius_id)
Copy
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 {
		default_authentication_flow, err := authentik.LookupFlow(ctx, &authentik.LookupFlowArgs{
			Slug: pulumi.StringRef("default-authentication-flow"),
		}, nil)
		if err != nil {
			return err
		}
		nameProviderRadius, err := authentik.NewProviderRadius(ctx, "nameProviderRadius", &authentik.ProviderRadiusArgs{
			AuthorizationFlow: pulumi.String(default_authentication_flow.Id),
			ClientNetworks:    pulumi.String("10.10.0.0/24"),
			SharedSecret:      pulumi.String("my-shared-secret"),
		})
		if err != nil {
			return err
		}
		_, err = authentik.NewApplication(ctx, "nameApplication", &authentik.ApplicationArgs{
			Slug:             pulumi.String("radius-app"),
			ProtocolProvider: nameProviderRadius.ProviderRadiusId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;

return await Deployment.RunAsync(() => 
{
    var default_authentication_flow = Authentik.GetFlow.Invoke(new()
    {
        Slug = "default-authentication-flow",
    });

    var nameProviderRadius = new Authentik.ProviderRadius("nameProviderRadius", new()
    {
        AuthorizationFlow = default_authentication_flow.Apply(default_authentication_flow => default_authentication_flow.Apply(getFlowResult => getFlowResult.Id)),
        ClientNetworks = "10.10.0.0/24",
        SharedSecret = "my-shared-secret",
    });

    var nameApplication = new Authentik.Application("nameApplication", new()
    {
        Slug = "radius-app",
        ProtocolProvider = nameProviderRadius.ProviderRadiusId,
    });

});
Copy
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.GetFlowArgs;
import com.pulumi.authentik.ProviderRadius;
import com.pulumi.authentik.ProviderRadiusArgs;
import com.pulumi.authentik.Application;
import com.pulumi.authentik.ApplicationArgs;
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 default-authentication-flow = AuthentikFunctions.getFlow(GetFlowArgs.builder()
            .slug("default-authentication-flow")
            .build());

        var nameProviderRadius = new ProviderRadius("nameProviderRadius", ProviderRadiusArgs.builder()
            .authorizationFlow(default_authentication_flow.id())
            .clientNetworks("10.10.0.0/24")
            .sharedSecret("my-shared-secret")
            .build());

        var nameApplication = new Application("nameApplication", ApplicationArgs.builder()
            .slug("radius-app")
            .protocolProvider(nameProviderRadius.providerRadiusId())
            .build());

    }
}
Copy
resources:
  nameProviderRadius:
    type: authentik:ProviderRadius
    properties:
      authorizationFlow: ${["default-authentication-flow"].id}
      clientNetworks: 10.10.0.0/24
      sharedSecret: my-shared-secret
  nameApplication:
    type: authentik:Application
    properties:
      slug: radius-app
      protocolProvider: ${nameProviderRadius.providerRadiusId}
variables:
  default-authentication-flow:
    fn::invoke:
      function: authentik:getFlow
      arguments:
        slug: default-authentication-flow
Copy

Create ProviderRadius Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ProviderRadius(name: string, args: ProviderRadiusArgs, opts?: CustomResourceOptions);
@overload
def ProviderRadius(resource_name: str,
                   args: ProviderRadiusArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def ProviderRadius(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   authorization_flow: Optional[str] = None,
                   invalidation_flow: Optional[str] = None,
                   shared_secret: Optional[str] = None,
                   client_networks: Optional[str] = None,
                   mfa_support: Optional[bool] = None,
                   name: Optional[str] = None,
                   property_mappings: Optional[Sequence[str]] = None,
                   provider_radius_id: Optional[str] = None)
func NewProviderRadius(ctx *Context, name string, args ProviderRadiusArgs, opts ...ResourceOption) (*ProviderRadius, error)
public ProviderRadius(string name, ProviderRadiusArgs args, CustomResourceOptions? opts = null)
public ProviderRadius(String name, ProviderRadiusArgs args)
public ProviderRadius(String name, ProviderRadiusArgs args, CustomResourceOptions options)
type: authentik:ProviderRadius
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ProviderRadiusArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ProviderRadiusArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ProviderRadiusArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ProviderRadiusArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProviderRadiusArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var providerRadiusResource = new Authentik.ProviderRadius("providerRadiusResource", new()
{
    AuthorizationFlow = "string",
    InvalidationFlow = "string",
    SharedSecret = "string",
    ClientNetworks = "string",
    MfaSupport = false,
    Name = "string",
    PropertyMappings = new[]
    {
        "string",
    },
    ProviderRadiusId = "string",
});
Copy
example, err := authentik.NewProviderRadius(ctx, "providerRadiusResource", &authentik.ProviderRadiusArgs{
	AuthorizationFlow: pulumi.String("string"),
	InvalidationFlow:  pulumi.String("string"),
	SharedSecret:      pulumi.String("string"),
	ClientNetworks:    pulumi.String("string"),
	MfaSupport:        pulumi.Bool(false),
	Name:              pulumi.String("string"),
	PropertyMappings: pulumi.StringArray{
		pulumi.String("string"),
	},
	ProviderRadiusId: pulumi.String("string"),
})
Copy
var providerRadiusResource = new ProviderRadius("providerRadiusResource", ProviderRadiusArgs.builder()
    .authorizationFlow("string")
    .invalidationFlow("string")
    .sharedSecret("string")
    .clientNetworks("string")
    .mfaSupport(false)
    .name("string")
    .propertyMappings("string")
    .providerRadiusId("string")
    .build());
Copy
provider_radius_resource = authentik.ProviderRadius("providerRadiusResource",
    authorization_flow="string",
    invalidation_flow="string",
    shared_secret="string",
    client_networks="string",
    mfa_support=False,
    name="string",
    property_mappings=["string"],
    provider_radius_id="string")
Copy
const providerRadiusResource = new authentik.ProviderRadius("providerRadiusResource", {
    authorizationFlow: "string",
    invalidationFlow: "string",
    sharedSecret: "string",
    clientNetworks: "string",
    mfaSupport: false,
    name: "string",
    propertyMappings: ["string"],
    providerRadiusId: "string",
});
Copy
type: authentik:ProviderRadius
properties:
    authorizationFlow: string
    clientNetworks: string
    invalidationFlow: string
    mfaSupport: false
    name: string
    propertyMappings:
        - string
    providerRadiusId: string
    sharedSecret: string
Copy

ProviderRadius Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ProviderRadius resource accepts the following input properties:

AuthorizationFlow This property is required. string
InvalidationFlow This property is required. string
SharedSecret This property is required. string
ClientNetworks string
Defaults to 0.0.0.0/0, ::/0.
MfaSupport bool
Defaults to true.
Name string
PropertyMappings List<string>
ProviderRadiusId string
The ID of this resource.
AuthorizationFlow This property is required. string
InvalidationFlow This property is required. string
SharedSecret This property is required. string
ClientNetworks string
Defaults to 0.0.0.0/0, ::/0.
MfaSupport bool
Defaults to true.
Name string
PropertyMappings []string
ProviderRadiusId string
The ID of this resource.
authorizationFlow This property is required. String
invalidationFlow This property is required. String
sharedSecret This property is required. String
clientNetworks String
Defaults to 0.0.0.0/0, ::/0.
mfaSupport Boolean
Defaults to true.
name String
propertyMappings List<String>
providerRadiusId String
The ID of this resource.
authorizationFlow This property is required. string
invalidationFlow This property is required. string
sharedSecret This property is required. string
clientNetworks string
Defaults to 0.0.0.0/0, ::/0.
mfaSupport boolean
Defaults to true.
name string
propertyMappings string[]
providerRadiusId string
The ID of this resource.
authorization_flow This property is required. str
invalidation_flow This property is required. str
shared_secret This property is required. str
client_networks str
Defaults to 0.0.0.0/0, ::/0.
mfa_support bool
Defaults to true.
name str
property_mappings Sequence[str]
provider_radius_id str
The ID of this resource.
authorizationFlow This property is required. String
invalidationFlow This property is required. String
sharedSecret This property is required. String
clientNetworks String
Defaults to 0.0.0.0/0, ::/0.
mfaSupport Boolean
Defaults to true.
name String
propertyMappings List<String>
providerRadiusId String
The ID of this resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the ProviderRadius resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ProviderRadius Resource

Get an existing ProviderRadius resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ProviderRadiusState, opts?: CustomResourceOptions): ProviderRadius
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authorization_flow: Optional[str] = None,
        client_networks: Optional[str] = None,
        invalidation_flow: Optional[str] = None,
        mfa_support: Optional[bool] = None,
        name: Optional[str] = None,
        property_mappings: Optional[Sequence[str]] = None,
        provider_radius_id: Optional[str] = None,
        shared_secret: Optional[str] = None) -> ProviderRadius
func GetProviderRadius(ctx *Context, name string, id IDInput, state *ProviderRadiusState, opts ...ResourceOption) (*ProviderRadius, error)
public static ProviderRadius Get(string name, Input<string> id, ProviderRadiusState? state, CustomResourceOptions? opts = null)
public static ProviderRadius get(String name, Output<String> id, ProviderRadiusState state, CustomResourceOptions options)
resources:  _:    type: authentik:ProviderRadius    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AuthorizationFlow string
ClientNetworks string
Defaults to 0.0.0.0/0, ::/0.
InvalidationFlow string
MfaSupport bool
Defaults to true.
Name string
PropertyMappings List<string>
ProviderRadiusId string
The ID of this resource.
SharedSecret string
AuthorizationFlow string
ClientNetworks string
Defaults to 0.0.0.0/0, ::/0.
InvalidationFlow string
MfaSupport bool
Defaults to true.
Name string
PropertyMappings []string
ProviderRadiusId string
The ID of this resource.
SharedSecret string
authorizationFlow String
clientNetworks String
Defaults to 0.0.0.0/0, ::/0.
invalidationFlow String
mfaSupport Boolean
Defaults to true.
name String
propertyMappings List<String>
providerRadiusId String
The ID of this resource.
sharedSecret String
authorizationFlow string
clientNetworks string
Defaults to 0.0.0.0/0, ::/0.
invalidationFlow string
mfaSupport boolean
Defaults to true.
name string
propertyMappings string[]
providerRadiusId string
The ID of this resource.
sharedSecret string
authorization_flow str
client_networks str
Defaults to 0.0.0.0/0, ::/0.
invalidation_flow str
mfa_support bool
Defaults to true.
name str
property_mappings Sequence[str]
provider_radius_id str
The ID of this resource.
shared_secret str
authorizationFlow String
clientNetworks String
Defaults to 0.0.0.0/0, ::/0.
invalidationFlow String
mfaSupport Boolean
Defaults to true.
name String
propertyMappings List<String>
providerRadiusId String
The ID of this resource.
sharedSecret String

Package Details

Repository
authentik goauthentik/terraform-provider-authentik
License
Notes
This Pulumi package is based on the authentik Terraform Provider.