published on Friday, Apr 24, 2026 by kong
published on Friday, Apr 24, 2026 by kong
IdentityAuthServer Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myIdentityauthserver = new konnect.IdentityAuthServer("my_identityauthserver", {
audience: "...my_audience...",
description: "...my_description...",
forceDestroy: "false",
labels: {
key: "value",
},
name: "...my_name...",
signingAlgorithm: "RS256",
trustedOrigins: ["https://example.com"],
});
import pulumi
import pulumi_konnect as konnect
my_identityauthserver = konnect.IdentityAuthServer("my_identityauthserver",
audience="...my_audience...",
description="...my_description...",
force_destroy="false",
labels={
"key": "value",
},
name="...my_name...",
signing_algorithm="RS256",
trusted_origins=["https://example.com"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := konnect.NewIdentityAuthServer(ctx, "my_identityauthserver", &konnect.IdentityAuthServerArgs{
Audience: pulumi.String("...my_audience..."),
Description: pulumi.String("...my_description..."),
ForceDestroy: pulumi.String("false"),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
Name: pulumi.String("...my_name..."),
SigningAlgorithm: pulumi.String("RS256"),
TrustedOrigins: pulumi.StringArray{
pulumi.String("https://example.com"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Konnect = Pulumi.Konnect;
return await Deployment.RunAsync(() =>
{
var myIdentityauthserver = new Konnect.IdentityAuthServer("my_identityauthserver", new()
{
Audience = "...my_audience...",
Description = "...my_description...",
ForceDestroy = "false",
Labels =
{
{ "key", "value" },
},
Name = "...my_name...",
SigningAlgorithm = "RS256",
TrustedOrigins = new[]
{
"https://example.com",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.IdentityAuthServer;
import com.pulumi.konnect.IdentityAuthServerArgs;
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) {
var myIdentityauthserver = new IdentityAuthServer("myIdentityauthserver", IdentityAuthServerArgs.builder()
.audience("...my_audience...")
.description("...my_description...")
.forceDestroy("false")
.labels(Map.of("key", "value"))
.name("...my_name...")
.signingAlgorithm("RS256")
.trustedOrigins("https://example.com")
.build());
}
}
resources:
myIdentityauthserver:
type: konnect:IdentityAuthServer
name: my_identityauthserver
properties:
audience: '...my_audience...'
description: '...my_description...'
forceDestroy: 'false'
labels:
key: value
name: '...my_name...'
signingAlgorithm: RS256
trustedOrigins:
- https://example.com
Create IdentityAuthServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdentityAuthServer(name: string, args: IdentityAuthServerArgs, opts?: CustomResourceOptions);@overload
def IdentityAuthServer(resource_name: str,
args: IdentityAuthServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IdentityAuthServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
audience: Optional[str] = None,
description: Optional[str] = None,
force_destroy: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
signing_algorithm: Optional[str] = None,
trusted_origins: Optional[Sequence[str]] = None)func NewIdentityAuthServer(ctx *Context, name string, args IdentityAuthServerArgs, opts ...ResourceOption) (*IdentityAuthServer, error)public IdentityAuthServer(string name, IdentityAuthServerArgs args, CustomResourceOptions? opts = null)
public IdentityAuthServer(String name, IdentityAuthServerArgs args)
public IdentityAuthServer(String name, IdentityAuthServerArgs args, CustomResourceOptions options)
type: konnect:IdentityAuthServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IdentityAuthServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IdentityAuthServerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IdentityAuthServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityAuthServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityAuthServerArgs
- 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 identityAuthServerResource = new Konnect.IdentityAuthServer("identityAuthServerResource", new()
{
Audience = "string",
Description = "string",
ForceDestroy = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
SigningAlgorithm = "string",
TrustedOrigins = new[]
{
"string",
},
});
example, err := konnect.NewIdentityAuthServer(ctx, "identityAuthServerResource", &konnect.IdentityAuthServerArgs{
Audience: pulumi.String("string"),
Description: pulumi.String("string"),
ForceDestroy: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
SigningAlgorithm: pulumi.String("string"),
TrustedOrigins: pulumi.StringArray{
pulumi.String("string"),
},
})
var identityAuthServerResource = new IdentityAuthServer("identityAuthServerResource", IdentityAuthServerArgs.builder()
.audience("string")
.description("string")
.forceDestroy("string")
.labels(Map.of("string", "string"))
.name("string")
.signingAlgorithm("string")
.trustedOrigins("string")
.build());
identity_auth_server_resource = konnect.IdentityAuthServer("identityAuthServerResource",
audience="string",
description="string",
force_destroy="string",
labels={
"string": "string",
},
name="string",
signing_algorithm="string",
trusted_origins=["string"])
const identityAuthServerResource = new konnect.IdentityAuthServer("identityAuthServerResource", {
audience: "string",
description: "string",
forceDestroy: "string",
labels: {
string: "string",
},
name: "string",
signingAlgorithm: "string",
trustedOrigins: ["string"],
});
type: konnect:IdentityAuthServer
properties:
audience: string
description: string
forceDestroy: string
labels:
string: string
name: string
signingAlgorithm: string
trustedOrigins:
- string
IdentityAuthServer 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 IdentityAuthServer resource accepts the following input properties:
- Audience string
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- Description string
- The description of the auth server
- Force
Destroy string - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- Labels Dictionary<string, string>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- Name string
- The name of the auth server
- Signing
Algorithm string - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- Trusted
Origins List<string> - A list or trusted origins to apply the CORS header on for the auth server
- Audience string
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- Description string
- The description of the auth server
- Force
Destroy string - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- Labels map[string]string
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- Name string
- The name of the auth server
- Signing
Algorithm string - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- Trusted
Origins []string - A list or trusted origins to apply the CORS header on for the auth server
- audience String
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- description String
- The description of the auth server
- force
Destroy String - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- labels Map<String,String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name String
- The name of the auth server
- signing
Algorithm String - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted
Origins List<String> - A list or trusted origins to apply the CORS header on for the auth server
- audience string
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- description string
- The description of the auth server
- force
Destroy string - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- labels {[key: string]: string}
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name string
- The name of the auth server
- signing
Algorithm string - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted
Origins string[] - A list or trusted origins to apply the CORS header on for the auth server
- audience str
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- description str
- The description of the auth server
- force_
destroy str - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- labels Mapping[str, str]
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name str
- The name of the auth server
- signing_
algorithm str - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted_
origins Sequence[str] - A list or trusted origins to apply the CORS header on for the auth server
- audience String
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- description String
- The description of the auth server
- force
Destroy String - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- labels Map<String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name String
- The name of the auth server
- signing
Algorithm String - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted
Origins List<String> - A list or trusted origins to apply the CORS header on for the auth server
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityAuthServer resource produces the following output properties:
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- Metadata
Uri string - The URI of the metadata document for the auth server
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- Metadata
Uri string - The URI of the metadata document for the auth server
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- metadata
Uri String - The URI of the metadata document for the auth server
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- id string
- The provider-assigned unique ID for this managed resource.
- issuer string
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- metadata
Uri string - The URI of the metadata document for the auth server
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- The provider-assigned unique ID for this managed resource.
- issuer str
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- metadata_
uri str - The URI of the metadata document for the auth server
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- metadata
Uri String - The URI of the metadata document for the auth server
- updated
At String - An ISO-8601 timestamp representation of entity update date.
Look up Existing IdentityAuthServer Resource
Get an existing IdentityAuthServer 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?: IdentityAuthServerState, opts?: CustomResourceOptions): IdentityAuthServer@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audience: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
force_destroy: Optional[str] = None,
issuer: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
metadata_uri: Optional[str] = None,
name: Optional[str] = None,
signing_algorithm: Optional[str] = None,
trusted_origins: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None) -> IdentityAuthServerfunc GetIdentityAuthServer(ctx *Context, name string, id IDInput, state *IdentityAuthServerState, opts ...ResourceOption) (*IdentityAuthServer, error)public static IdentityAuthServer Get(string name, Input<string> id, IdentityAuthServerState? state, CustomResourceOptions? opts = null)public static IdentityAuthServer get(String name, Output<String> id, IdentityAuthServerState state, CustomResourceOptions options)resources: _: type: konnect:IdentityAuthServer get: id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Audience string
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Description string
- The description of the auth server
- Force
Destroy string - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- Issuer string
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- Labels Dictionary<string, string>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- Metadata
Uri string - The URI of the metadata document for the auth server
- Name string
- The name of the auth server
- Signing
Algorithm string - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- Trusted
Origins List<string> - A list or trusted origins to apply the CORS header on for the auth server
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Audience string
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Description string
- The description of the auth server
- Force
Destroy string - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- Issuer string
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- Labels map[string]string
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- Metadata
Uri string - The URI of the metadata document for the auth server
- Name string
- The name of the auth server
- Signing
Algorithm string - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- Trusted
Origins []string - A list or trusted origins to apply the CORS header on for the auth server
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- audience String
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- description String
- The description of the auth server
- force
Destroy String - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- issuer String
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- labels Map<String,String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- metadata
Uri String - The URI of the metadata document for the auth server
- name String
- The name of the auth server
- signing
Algorithm String - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted
Origins List<String> - A list or trusted origins to apply the CORS header on for the auth server
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- audience string
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- description string
- The description of the auth server
- force
Destroy string - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- issuer string
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- labels {[key: string]: string}
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- metadata
Uri string - The URI of the metadata document for the auth server
- name string
- The name of the auth server
- signing
Algorithm string - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted
Origins string[] - A list or trusted origins to apply the CORS header on for the auth server
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- audience str
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- description str
- The description of the auth server
- force_
destroy str - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- issuer str
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- labels Mapping[str, str]
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- metadata_
uri str - The URI of the metadata document for the auth server
- name str
- The name of the auth server
- signing_
algorithm str - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted_
origins Sequence[str] - A list or trusted origins to apply the CORS header on for the auth server
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- audience String
- The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- description String
- The description of the auth server
- force
Destroy String - If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server. Default: "false"; must be one of ["true", "false"]
- issuer String
- The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
- labels Map<String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- metadata
Uri String - The URI of the metadata document for the auth server
- name String
- The name of the auth server
- signing
Algorithm String - Algorithm used in the key signing process. possible known values include one of ["RS256", "RS384", "RS512", "PS256", "PS384", "PS512"]; Default: "RS256"
- trusted
Origins List<String> - A list or trusted origins to apply the CORS header on for the auth server
- updated
At String - An ISO-8601 timestamp representation of entity update date.
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = konnect_identity_auth_server.my_konnect_identity_auth_server
id = “…”
}
The pulumi import command can be used, for example:
$ pulumi import konnect:index/identityAuthServer:IdentityAuthServer my_konnect_identity_auth_server "..."
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
published on Friday, Apr 24, 2026 by kong
