published on Friday, Nov 6, 2026 by kong
published on Friday, Nov 6, 2026 by kong
IdentityPrincipalIdentity Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myIdentityprincipalidentity = new konnect.IdentityPrincipalIdentity("my_identityprincipalidentity", {
authServerClient: {
authServerId: "764ebd98-5bf8-4c1c-862c-0c115cc3fd21",
clientId: "...my_client_id...",
labels: {
key: "value",
},
managedBy: {
key: "value",
},
},
controlPlaneConsumer: {
consumerId: "...my_consumer_id...",
controlPlaneId: "...my_control_plane_id...",
labels: {
key: "value",
},
managedBy: {
key: "value",
},
workspaceId: "...my_workspace_id...",
},
custom: {
key: "...my_key...",
labels: {
key: "value",
},
managedBy: {
key: "value",
},
value: "...my_value...",
},
directoryId: "b6e820c3-0070-4ea2-ad6f-3b44c07d409d",
oidc: {
claim: {
name: "...my_name...",
value: "...my_value...",
},
issuer: "...my_issuer...",
labels: {
key: "value",
},
managedBy: {
key: "value",
},
},
principalId: "b63e8652-e7d8-41ba-ba07-d093efe7352c",
});
import pulumi
import pulumi_konnect as konnect
my_identityprincipalidentity = konnect.IdentityPrincipalIdentity("my_identityprincipalidentity",
auth_server_client={
"auth_server_id": "764ebd98-5bf8-4c1c-862c-0c115cc3fd21",
"client_id": "...my_client_id...",
"labels": {
"key": "value",
},
"managed_by": {
"key": "value",
},
},
control_plane_consumer={
"consumer_id": "...my_consumer_id...",
"control_plane_id": "...my_control_plane_id...",
"labels": {
"key": "value",
},
"managed_by": {
"key": "value",
},
"workspace_id": "...my_workspace_id...",
},
custom={
"key": "...my_key...",
"labels": {
"key": "value",
},
"managed_by": {
"key": "value",
},
"value": "...my_value...",
},
directory_id="b6e820c3-0070-4ea2-ad6f-3b44c07d409d",
oidc={
"claim": {
"name": "...my_name...",
"value": "...my_value...",
},
"issuer": "...my_issuer...",
"labels": {
"key": "value",
},
"managed_by": {
"key": "value",
},
},
principal_id="b63e8652-e7d8-41ba-ba07-d093efe7352c")
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.NewIdentityPrincipalIdentity(ctx, "my_identityprincipalidentity", &konnect.IdentityPrincipalIdentityArgs{
AuthServerClient: &konnect.IdentityPrincipalIdentityAuthServerClientArgs{
AuthServerId: pulumi.String("764ebd98-5bf8-4c1c-862c-0c115cc3fd21"),
ClientId: pulumi.String("...my_client_id..."),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
ManagedBy: pulumi.StringMap{
"key": pulumi.String("value"),
},
},
ControlPlaneConsumer: &konnect.IdentityPrincipalIdentityControlPlaneConsumerArgs{
ConsumerId: pulumi.String("...my_consumer_id..."),
ControlPlaneId: pulumi.String("...my_control_plane_id..."),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
ManagedBy: pulumi.StringMap{
"key": pulumi.String("value"),
},
WorkspaceId: pulumi.String("...my_workspace_id..."),
},
Custom: &konnect.IdentityPrincipalIdentityCustomArgs{
Key: pulumi.String("...my_key..."),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
ManagedBy: pulumi.StringMap{
"key": pulumi.String("value"),
},
Value: pulumi.String("...my_value..."),
},
DirectoryId: pulumi.String("b6e820c3-0070-4ea2-ad6f-3b44c07d409d"),
Oidc: &konnect.IdentityPrincipalIdentityOidcArgs{
Claim: &konnect.IdentityPrincipalIdentityOidcClaimArgs{
Name: pulumi.String("...my_name..."),
Value: pulumi.String("...my_value..."),
},
Issuer: pulumi.String("...my_issuer..."),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
ManagedBy: pulumi.StringMap{
"key": pulumi.String("value"),
},
},
PrincipalId: pulumi.String("b63e8652-e7d8-41ba-ba07-d093efe7352c"),
})
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 myIdentityprincipalidentity = new Konnect.IdentityPrincipalIdentity("my_identityprincipalidentity", new()
{
AuthServerClient = new Konnect.Inputs.IdentityPrincipalIdentityAuthServerClientArgs
{
AuthServerId = "764ebd98-5bf8-4c1c-862c-0c115cc3fd21",
ClientId = "...my_client_id...",
Labels =
{
{ "key", "value" },
},
ManagedBy =
{
{ "key", "value" },
},
},
ControlPlaneConsumer = new Konnect.Inputs.IdentityPrincipalIdentityControlPlaneConsumerArgs
{
ConsumerId = "...my_consumer_id...",
ControlPlaneId = "...my_control_plane_id...",
Labels =
{
{ "key", "value" },
},
ManagedBy =
{
{ "key", "value" },
},
WorkspaceId = "...my_workspace_id...",
},
Custom = new Konnect.Inputs.IdentityPrincipalIdentityCustomArgs
{
Key = "...my_key...",
Labels =
{
{ "key", "value" },
},
ManagedBy =
{
{ "key", "value" },
},
Value = "...my_value...",
},
DirectoryId = "b6e820c3-0070-4ea2-ad6f-3b44c07d409d",
Oidc = new Konnect.Inputs.IdentityPrincipalIdentityOidcArgs
{
Claim = new Konnect.Inputs.IdentityPrincipalIdentityOidcClaimArgs
{
Name = "...my_name...",
Value = "...my_value...",
},
Issuer = "...my_issuer...",
Labels =
{
{ "key", "value" },
},
ManagedBy =
{
{ "key", "value" },
},
},
PrincipalId = "b63e8652-e7d8-41ba-ba07-d093efe7352c",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.IdentityPrincipalIdentity;
import com.pulumi.konnect.IdentityPrincipalIdentityArgs;
import com.pulumi.konnect.inputs.IdentityPrincipalIdentityAuthServerClientArgs;
import com.pulumi.konnect.inputs.IdentityPrincipalIdentityControlPlaneConsumerArgs;
import com.pulumi.konnect.inputs.IdentityPrincipalIdentityCustomArgs;
import com.pulumi.konnect.inputs.IdentityPrincipalIdentityOidcArgs;
import com.pulumi.konnect.inputs.IdentityPrincipalIdentityOidcClaimArgs;
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 myIdentityprincipalidentity = new IdentityPrincipalIdentity("myIdentityprincipalidentity", IdentityPrincipalIdentityArgs.builder()
.authServerClient(IdentityPrincipalIdentityAuthServerClientArgs.builder()
.authServerId("764ebd98-5bf8-4c1c-862c-0c115cc3fd21")
.clientId("...my_client_id...")
.labels(Map.of("key", "value"))
.managedBy(Map.of("key", "value"))
.build())
.controlPlaneConsumer(IdentityPrincipalIdentityControlPlaneConsumerArgs.builder()
.consumerId("...my_consumer_id...")
.controlPlaneId("...my_control_plane_id...")
.labels(Map.of("key", "value"))
.managedBy(Map.of("key", "value"))
.workspaceId("...my_workspace_id...")
.build())
.custom(IdentityPrincipalIdentityCustomArgs.builder()
.key("...my_key...")
.labels(Map.of("key", "value"))
.managedBy(Map.of("key", "value"))
.value("...my_value...")
.build())
.directoryId("b6e820c3-0070-4ea2-ad6f-3b44c07d409d")
.oidc(IdentityPrincipalIdentityOidcArgs.builder()
.claim(IdentityPrincipalIdentityOidcClaimArgs.builder()
.name("...my_name...")
.value("...my_value...")
.build())
.issuer("...my_issuer...")
.labels(Map.of("key", "value"))
.managedBy(Map.of("key", "value"))
.build())
.principalId("b63e8652-e7d8-41ba-ba07-d093efe7352c")
.build());
}
}
resources:
myIdentityprincipalidentity:
type: konnect:IdentityPrincipalIdentity
name: my_identityprincipalidentity
properties:
authServerClient:
authServerId: 764ebd98-5bf8-4c1c-862c-0c115cc3fd21
clientId: '...my_client_id...'
labels:
key: value
managedBy:
key: value
controlPlaneConsumer:
consumerId: '...my_consumer_id...'
controlPlaneId: '...my_control_plane_id...'
labels:
key: value
managedBy:
key: value
workspaceId: '...my_workspace_id...'
custom:
key: '...my_key...'
labels:
key: value
managedBy:
key: value
value: '...my_value...'
directoryId: b6e820c3-0070-4ea2-ad6f-3b44c07d409d
oidc:
claim:
name: '...my_name...'
value: '...my_value...'
issuer: '...my_issuer...'
labels:
key: value
managedBy:
key: value
principalId: b63e8652-e7d8-41ba-ba07-d093efe7352c
Example coming soon!
Create IdentityPrincipalIdentity Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdentityPrincipalIdentity(name: string, args: IdentityPrincipalIdentityArgs, opts?: CustomResourceOptions);@overload
def IdentityPrincipalIdentity(resource_name: str,
args: IdentityPrincipalIdentityArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IdentityPrincipalIdentity(resource_name: str,
opts: Optional[ResourceOptions] = None,
directory_id: Optional[str] = None,
principal_id: Optional[str] = None,
auth_server_client: Optional[IdentityPrincipalIdentityAuthServerClientArgs] = None,
control_plane_consumer: Optional[IdentityPrincipalIdentityControlPlaneConsumerArgs] = None,
custom: Optional[IdentityPrincipalIdentityCustomArgs] = None,
oidc: Optional[IdentityPrincipalIdentityOidcArgs] = None)func NewIdentityPrincipalIdentity(ctx *Context, name string, args IdentityPrincipalIdentityArgs, opts ...ResourceOption) (*IdentityPrincipalIdentity, error)public IdentityPrincipalIdentity(string name, IdentityPrincipalIdentityArgs args, CustomResourceOptions? opts = null)
public IdentityPrincipalIdentity(String name, IdentityPrincipalIdentityArgs args)
public IdentityPrincipalIdentity(String name, IdentityPrincipalIdentityArgs args, CustomResourceOptions options)
type: konnect:IdentityPrincipalIdentity
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "konnect_identity_principal_identity" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IdentityPrincipalIdentityArgs
- 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 IdentityPrincipalIdentityArgs
- 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 IdentityPrincipalIdentityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityPrincipalIdentityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityPrincipalIdentityArgs
- 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 identityPrincipalIdentityResource = new Konnect.IdentityPrincipalIdentity("identityPrincipalIdentityResource", new()
{
DirectoryId = "string",
PrincipalId = "string",
AuthServerClient = new Konnect.Inputs.IdentityPrincipalIdentityAuthServerClientArgs
{
AuthServerId = "string",
ClientId = "string",
CreatedAt = "string",
Id = "string",
Labels =
{
{ "string", "string" },
},
ManagedBy =
{
{ "string", "string" },
},
UpdatedAt = "string",
},
ControlPlaneConsumer = new Konnect.Inputs.IdentityPrincipalIdentityControlPlaneConsumerArgs
{
ConsumerId = "string",
ControlPlaneId = "string",
ControlPlaneType = "string",
CreatedAt = "string",
Id = "string",
Labels =
{
{ "string", "string" },
},
ManagedBy =
{
{ "string", "string" },
},
UpdatedAt = "string",
WorkspaceId = "string",
},
Custom = new Konnect.Inputs.IdentityPrincipalIdentityCustomArgs
{
CreatedAt = "string",
Id = "string",
Key = "string",
Labels =
{
{ "string", "string" },
},
ManagedBy =
{
{ "string", "string" },
},
UpdatedAt = "string",
Value = "string",
},
Oidc = new Konnect.Inputs.IdentityPrincipalIdentityOidcArgs
{
Claim = new Konnect.Inputs.IdentityPrincipalIdentityOidcClaimArgs
{
Name = "string",
Value = "string",
},
CreatedAt = "string",
Id = "string",
Issuer = "string",
Labels =
{
{ "string", "string" },
},
ManagedBy =
{
{ "string", "string" },
},
UpdatedAt = "string",
},
});
example, err := konnect.NewIdentityPrincipalIdentity(ctx, "identityPrincipalIdentityResource", &konnect.IdentityPrincipalIdentityArgs{
DirectoryId: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
AuthServerClient: &konnect.IdentityPrincipalIdentityAuthServerClientArgs{
AuthServerId: pulumi.String("string"),
ClientId: pulumi.String("string"),
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManagedBy: pulumi.StringMap{
"string": pulumi.String("string"),
},
UpdatedAt: pulumi.String("string"),
},
ControlPlaneConsumer: &konnect.IdentityPrincipalIdentityControlPlaneConsumerArgs{
ConsumerId: pulumi.String("string"),
ControlPlaneId: pulumi.String("string"),
ControlPlaneType: pulumi.String("string"),
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManagedBy: pulumi.StringMap{
"string": pulumi.String("string"),
},
UpdatedAt: pulumi.String("string"),
WorkspaceId: pulumi.String("string"),
},
Custom: &konnect.IdentityPrincipalIdentityCustomArgs{
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
Key: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManagedBy: pulumi.StringMap{
"string": pulumi.String("string"),
},
UpdatedAt: pulumi.String("string"),
Value: pulumi.String("string"),
},
Oidc: &konnect.IdentityPrincipalIdentityOidcArgs{
Claim: &konnect.IdentityPrincipalIdentityOidcClaimArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
Issuer: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManagedBy: pulumi.StringMap{
"string": pulumi.String("string"),
},
UpdatedAt: pulumi.String("string"),
},
})
resource "konnect_identity_principal_identity" "identityPrincipalIdentityResource" {
lifecycle {
create_before_destroy = true
}
directory_id = "string"
principal_id = "string"
auth_server_client = {
auth_server_id = "string"
client_id = "string"
created_at = "string"
id = "string"
labels = {
"string" = "string"
}
managed_by = {
"string" = "string"
}
updated_at = "string"
}
control_plane_consumer = {
consumer_id = "string"
control_plane_id = "string"
control_plane_type = "string"
created_at = "string"
id = "string"
labels = {
"string" = "string"
}
managed_by = {
"string" = "string"
}
updated_at = "string"
workspace_id = "string"
}
custom = {
created_at = "string"
id = "string"
key = "string"
labels = {
"string" = "string"
}
managed_by = {
"string" = "string"
}
updated_at = "string"
value = "string"
}
oidc = {
claim = {
name = "string"
value = "string"
}
created_at = "string"
id = "string"
issuer = "string"
labels = {
"string" = "string"
}
managed_by = {
"string" = "string"
}
updated_at = "string"
}
}
var identityPrincipalIdentityResource = new IdentityPrincipalIdentity("identityPrincipalIdentityResource", IdentityPrincipalIdentityArgs.builder()
.directoryId("string")
.principalId("string")
.authServerClient(IdentityPrincipalIdentityAuthServerClientArgs.builder()
.authServerId("string")
.clientId("string")
.createdAt("string")
.id("string")
.labels(Map.of("string", "string"))
.managedBy(Map.of("string", "string"))
.updatedAt("string")
.build())
.controlPlaneConsumer(IdentityPrincipalIdentityControlPlaneConsumerArgs.builder()
.consumerId("string")
.controlPlaneId("string")
.controlPlaneType("string")
.createdAt("string")
.id("string")
.labels(Map.of("string", "string"))
.managedBy(Map.of("string", "string"))
.updatedAt("string")
.workspaceId("string")
.build())
.custom(IdentityPrincipalIdentityCustomArgs.builder()
.createdAt("string")
.id("string")
.key("string")
.labels(Map.of("string", "string"))
.managedBy(Map.of("string", "string"))
.updatedAt("string")
.value("string")
.build())
.oidc(IdentityPrincipalIdentityOidcArgs.builder()
.claim(IdentityPrincipalIdentityOidcClaimArgs.builder()
.name("string")
.value("string")
.build())
.createdAt("string")
.id("string")
.issuer("string")
.labels(Map.of("string", "string"))
.managedBy(Map.of("string", "string"))
.updatedAt("string")
.build())
.build());
identity_principal_identity_resource = konnect.IdentityPrincipalIdentity("identityPrincipalIdentityResource",
directory_id="string",
principal_id="string",
auth_server_client={
"auth_server_id": "string",
"client_id": "string",
"created_at": "string",
"id": "string",
"labels": {
"string": "string",
},
"managed_by": {
"string": "string",
},
"updated_at": "string",
},
control_plane_consumer={
"consumer_id": "string",
"control_plane_id": "string",
"control_plane_type": "string",
"created_at": "string",
"id": "string",
"labels": {
"string": "string",
},
"managed_by": {
"string": "string",
},
"updated_at": "string",
"workspace_id": "string",
},
custom={
"created_at": "string",
"id": "string",
"key": "string",
"labels": {
"string": "string",
},
"managed_by": {
"string": "string",
},
"updated_at": "string",
"value": "string",
},
oidc={
"claim": {
"name": "string",
"value": "string",
},
"created_at": "string",
"id": "string",
"issuer": "string",
"labels": {
"string": "string",
},
"managed_by": {
"string": "string",
},
"updated_at": "string",
})
const identityPrincipalIdentityResource = new konnect.IdentityPrincipalIdentity("identityPrincipalIdentityResource", {
directoryId: "string",
principalId: "string",
authServerClient: {
authServerId: "string",
clientId: "string",
createdAt: "string",
id: "string",
labels: {
string: "string",
},
managedBy: {
string: "string",
},
updatedAt: "string",
},
controlPlaneConsumer: {
consumerId: "string",
controlPlaneId: "string",
controlPlaneType: "string",
createdAt: "string",
id: "string",
labels: {
string: "string",
},
managedBy: {
string: "string",
},
updatedAt: "string",
workspaceId: "string",
},
custom: {
createdAt: "string",
id: "string",
key: "string",
labels: {
string: "string",
},
managedBy: {
string: "string",
},
updatedAt: "string",
value: "string",
},
oidc: {
claim: {
name: "string",
value: "string",
},
createdAt: "string",
id: "string",
issuer: "string",
labels: {
string: "string",
},
managedBy: {
string: "string",
},
updatedAt: "string",
},
});
type: konnect:IdentityPrincipalIdentity
properties:
authServerClient:
authServerId: string
clientId: string
createdAt: string
id: string
labels:
string: string
managedBy:
string: string
updatedAt: string
controlPlaneConsumer:
consumerId: string
controlPlaneId: string
controlPlaneType: string
createdAt: string
id: string
labels:
string: string
managedBy:
string: string
updatedAt: string
workspaceId: string
custom:
createdAt: string
id: string
key: string
labels:
string: string
managedBy:
string: string
updatedAt: string
value: string
directoryId: string
oidc:
claim:
name: string
value: string
createdAt: string
id: string
issuer: string
labels:
string: string
managedBy:
string: string
updatedAt: string
principalId: string
IdentityPrincipalIdentity 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 IdentityPrincipalIdentity resource accepts the following input properties:
- Directory
Id string - ID of the directory
- Principal
Id string - Unique identifier of the principal (UUID format)
- Auth
Server IdentityClient Principal Identity Auth Server Client - Control
Plane IdentityConsumer Principal Identity Control Plane Consumer - Custom
Identity
Principal Identity Custom - Oidc
Identity
Principal Identity Oidc
- Directory
Id string - ID of the directory
- Principal
Id string - Unique identifier of the principal (UUID format)
- Auth
Server IdentityClient Principal Identity Auth Server Client Args - Control
Plane IdentityConsumer Principal Identity Control Plane Consumer Args - Custom
Identity
Principal Identity Custom Args - Oidc
Identity
Principal Identity Oidc Args
- directory_
id string - ID of the directory
- principal_
id string - Unique identifier of the principal (UUID format)
- auth_
server_ objectclient - control_
plane_ objectconsumer - custom object
- oidc object
- directory
Id String - ID of the directory
- principal
Id String - Unique identifier of the principal (UUID format)
- auth
Server IdentityClient Principal Identity Auth Server Client - control
Plane IdentityConsumer Principal Identity Control Plane Consumer - custom
Identity
Principal Identity Custom - oidc
Identity
Principal Identity Oidc
- directory
Id string - ID of the directory
- principal
Id string - Unique identifier of the principal (UUID format)
- auth
Server IdentityClient Principal Identity Auth Server Client - control
Plane IdentityConsumer Principal Identity Control Plane Consumer - custom
Identity
Principal Identity Custom - oidc
Identity
Principal Identity Oidc
- directory_
id str - ID of the directory
- principal_
id str - Unique identifier of the principal (UUID format)
- auth_
server_ Identityclient Principal Identity Auth Server Client Args - control_
plane_ Identityconsumer Principal Identity Control Plane Consumer Args - custom
Identity
Principal Identity Custom Args - oidc
Identity
Principal Identity Oidc Args
- directory
Id String - ID of the directory
- principal
Id String - Unique identifier of the principal (UUID format)
- auth
Server Property MapClient - control
Plane Property MapConsumer - custom Property Map
- oidc Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityPrincipalIdentity 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.
- 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.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
Look up Existing IdentityPrincipalIdentity Resource
Get an existing IdentityPrincipalIdentity 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?: IdentityPrincipalIdentityState, opts?: CustomResourceOptions): IdentityPrincipalIdentity@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_server_client: Optional[IdentityPrincipalIdentityAuthServerClientArgs] = None,
control_plane_consumer: Optional[IdentityPrincipalIdentityControlPlaneConsumerArgs] = None,
created_at: Optional[str] = None,
custom: Optional[IdentityPrincipalIdentityCustomArgs] = None,
directory_id: Optional[str] = None,
oidc: Optional[IdentityPrincipalIdentityOidcArgs] = None,
principal_id: Optional[str] = None,
updated_at: Optional[str] = None) -> IdentityPrincipalIdentityfunc GetIdentityPrincipalIdentity(ctx *Context, name string, id IDInput, state *IdentityPrincipalIdentityState, opts ...ResourceOption) (*IdentityPrincipalIdentity, error)public static IdentityPrincipalIdentity Get(string name, Input<string> id, IdentityPrincipalIdentityState? state, CustomResourceOptions? opts = null)public static IdentityPrincipalIdentity get(String name, Output<String> id, IdentityPrincipalIdentityState state, CustomResourceOptions options)resources: _: type: konnect:IdentityPrincipalIdentity get: id: ${id}import {
to = konnect_identity_principal_identity.example
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.
- Auth
Server IdentityClient Principal Identity Auth Server Client - Control
Plane IdentityConsumer Principal Identity Control Plane Consumer - Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Custom
Identity
Principal Identity Custom - Directory
Id string - ID of the directory
- Oidc
Identity
Principal Identity Oidc - Principal
Id string - Unique identifier of the principal (UUID format)
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Auth
Server IdentityClient Principal Identity Auth Server Client Args - Control
Plane IdentityConsumer Principal Identity Control Plane Consumer Args - Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Custom
Identity
Principal Identity Custom Args - Directory
Id string - ID of the directory
- Oidc
Identity
Principal Identity Oidc Args - Principal
Id string - Unique identifier of the principal (UUID format)
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- auth_
server_ objectclient - control_
plane_ objectconsumer - created_
at string - An ISO-8601 timestamp representation of entity creation date.
- custom object
- directory_
id string - ID of the directory
- oidc object
- principal_
id string - Unique identifier of the principal (UUID format)
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- auth
Server IdentityClient Principal Identity Auth Server Client - control
Plane IdentityConsumer Principal Identity Control Plane Consumer - created
At String - An ISO-8601 timestamp representation of entity creation date.
- custom
Identity
Principal Identity Custom - directory
Id String - ID of the directory
- oidc
Identity
Principal Identity Oidc - principal
Id String - Unique identifier of the principal (UUID format)
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- auth
Server IdentityClient Principal Identity Auth Server Client - control
Plane IdentityConsumer Principal Identity Control Plane Consumer - created
At string - An ISO-8601 timestamp representation of entity creation date.
- custom
Identity
Principal Identity Custom - directory
Id string - ID of the directory
- oidc
Identity
Principal Identity Oidc - principal
Id string - Unique identifier of the principal (UUID format)
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- auth_
server_ Identityclient Principal Identity Auth Server Client Args - control_
plane_ Identityconsumer Principal Identity Control Plane Consumer Args - created_
at str - An ISO-8601 timestamp representation of entity creation date.
- custom
Identity
Principal Identity Custom Args - directory_
id str - ID of the directory
- oidc
Identity
Principal Identity Oidc Args - principal_
id str - Unique identifier of the principal (UUID format)
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- auth
Server Property MapClient - control
Plane Property MapConsumer - created
At String - An ISO-8601 timestamp representation of entity creation date.
- custom Property Map
- directory
Id String - ID of the directory
- oidc Property Map
- principal
Id String - Unique identifier of the principal (UUID format)
- updated
At String - An ISO-8601 timestamp representation of entity update date.
Supporting Types
IdentityPrincipalIdentityAuthServerClient, IdentityPrincipalIdentityAuthServerClientArgs
- Auth
Server stringId - Not Null
- Client
Id string - Not Null
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- 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.
- Managed
By Dictionary<string, string> - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Auth
Server stringId - Not Null
- Client
Id string - Not Null
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- 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.
- Managed
By map[string]string - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- auth_
server_ stringid - Not Null
- client_
id string - Not Null
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- labels map(string)
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed_
by map(string) - updated_
at string - An ISO-8601 timestamp representation of entity update date.
- auth
Server StringId - Not Null
- client
Id String - Not Null
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- 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.
- managed
By Map<String,String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
- auth
Server stringId - Not Null
- client
Id string - Not Null
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- 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.
- managed
By {[key: string]: string} - updated
At string - An ISO-8601 timestamp representation of entity update date.
- auth_
server_ strid - Not Null
- client_
id str - Not Null
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- Contains a unique identifier used for this resource.
- 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.
- managed_
by Mapping[str, str] - updated_
at str - An ISO-8601 timestamp representation of entity update date.
- auth
Server StringId - Not Null
- client
Id String - Not Null
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- labels Map<String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed
By Map<String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
IdentityPrincipalIdentityControlPlaneConsumer, IdentityPrincipalIdentityControlPlaneConsumerArgs
- Consumer
Id string - Not Null
- Control
Plane stringId - Not Null
- Control
Plane stringType - The kind of control plane the linked consumer was found in.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- 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.
- Managed
By Dictionary<string, string> - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Workspace
Id string
- Consumer
Id string - Not Null
- Control
Plane stringId - Not Null
- Control
Plane stringType - The kind of control plane the linked consumer was found in.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- 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.
- Managed
By map[string]string - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Workspace
Id string
- consumer_
id string - Not Null
- control_
plane_ stringid - Not Null
- control_
plane_ stringtype - The kind of control plane the linked consumer was found in.
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- labels map(string)
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed_
by map(string) - updated_
at string - An ISO-8601 timestamp representation of entity update date.
- workspace_
id string
- consumer
Id String - Not Null
- control
Plane StringId - Not Null
- control
Plane StringType - The kind of control plane the linked consumer was found in.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- 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.
- managed
By Map<String,String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
- workspace
Id String
- consumer
Id string - Not Null
- control
Plane stringId - Not Null
- control
Plane stringType - The kind of control plane the linked consumer was found in.
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- 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.
- managed
By {[key: string]: string} - updated
At string - An ISO-8601 timestamp representation of entity update date.
- workspace
Id string
- consumer_
id str - Not Null
- control_
plane_ strid - Not Null
- control_
plane_ strtype - The kind of control plane the linked consumer was found in.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- Contains a unique identifier used for this resource.
- 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.
- managed_
by Mapping[str, str] - updated_
at str - An ISO-8601 timestamp representation of entity update date.
- workspace_
id str
- consumer
Id String - Not Null
- control
Plane StringId - Not Null
- control
Plane StringType - The kind of control plane the linked consumer was found in.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- labels Map<String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed
By Map<String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
- workspace
Id String
IdentityPrincipalIdentityCustom, IdentityPrincipalIdentityCustomArgs
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- Key string
- Not Null
- 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.
- Managed
By Dictionary<string, string> - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Value string
- Not Null
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- Key string
- Not Null
- 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.
- Managed
By map[string]string - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Value string
- Not Null
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- key string
- Not Null
- labels map(string)
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed_
by map(string) - updated_
at string - An ISO-8601 timestamp representation of entity update date.
- value string
- Not Null
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- key String
- Not Null
- 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.
- managed
By Map<String,String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
- value String
- Not Null
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- key string
- Not Null
- 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.
- managed
By {[key: string]: string} - updated
At string - An ISO-8601 timestamp representation of entity update date.
- value string
- Not Null
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- Contains a unique identifier used for this resource.
- key str
- Not Null
- 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.
- managed_
by Mapping[str, str] - updated_
at str - An ISO-8601 timestamp representation of entity update date.
- value str
- Not Null
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- key String
- Not Null
- labels Map<String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed
By Map<String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
- value String
- Not Null
IdentityPrincipalIdentityOidc, IdentityPrincipalIdentityOidcArgs
- Claim
Identity
Principal Identity Oidc Claim - Not Null
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- Issuer string
- Not Null
- 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.
- Managed
By Dictionary<string, string> - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Claim
Identity
Principal Identity Oidc Claim - Not Null
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- Contains a unique identifier used for this resource.
- Issuer string
- Not Null
- 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.
- Managed
By map[string]string - Updated
At string - An ISO-8601 timestamp representation of entity update date.
- claim object
- Not Null
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- issuer string
- Not Null
- labels map(string)
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed_
by map(string) - updated_
at string - An ISO-8601 timestamp representation of entity update date.
- claim
Identity
Principal Identity Oidc Claim - Not Null
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- issuer String
- Not Null
- 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.
- managed
By Map<String,String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
- claim
Identity
Principal Identity Oidc Claim - Not Null
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- id string
- Contains a unique identifier used for this resource.
- issuer string
- Not Null
- 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.
- managed
By {[key: string]: string} - updated
At string - An ISO-8601 timestamp representation of entity update date.
- claim
Identity
Principal Identity Oidc Claim - Not Null
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- Contains a unique identifier used for this resource.
- issuer str
- Not Null
- 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.
- managed_
by Mapping[str, str] - updated_
at str - An ISO-8601 timestamp representation of entity update date.
- claim Property Map
- Not Null
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- Contains a unique identifier used for this resource.
- issuer String
- Not Null
- labels Map<String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- managed
By Map<String> - updated
At String - An ISO-8601 timestamp representation of entity update date.
IdentityPrincipalIdentityOidcClaim, IdentityPrincipalIdentityOidcClaimArgs
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_principal_identity.my_konnect_identity_principal_identity
id = jsonencode({
directory_id = "..."
id = "..."
principal_id = "..."
})
}
The pulumi import command can be used, for example:
$ pulumi import konnect:index/identityPrincipalIdentity:IdentityPrincipalIdentity my_konnect_identity_principal_identity '{"directory_id": "...", "id": "...", "principal_id": "..."}'
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, Nov 6, 2026 by kong