published on Saturday, Sep 12, 2026 by Pulumi
published on Saturday, Sep 12, 2026 by Pulumi
Resource for managing IDP plugin configurations.
Create IdpPlugin Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdpPlugin(name: string, args: IdpPluginArgs, opts?: CustomResourceOptions);@overload
def IdpPlugin(resource_name: str,
args: IdpPluginArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IdpPlugin(resource_name: str,
opts: Optional[ResourceOptions] = None,
configs: Optional[str] = None,
identifier: Optional[str] = None,
enabled: Optional[bool] = None,
env_variables: Optional[Sequence[IdpPluginEnvVariableArgs]] = None,
name: Optional[str] = None,
proxies: Optional[Sequence[IdpPluginProxyArgs]] = None)func NewIdpPlugin(ctx *Context, name string, args IdpPluginArgs, opts ...ResourceOption) (*IdpPlugin, error)public IdpPlugin(string name, IdpPluginArgs args, CustomResourceOptions? opts = null)
public IdpPlugin(String name, IdpPluginArgs args)
public IdpPlugin(String name, IdpPluginArgs args, CustomResourceOptions options)
type: harness:platform:IdpPlugin
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "harness_platform_idp_plugin" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IdpPluginArgs
- 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 IdpPluginArgs
- 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 IdpPluginArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdpPluginArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdpPluginArgs
- 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 idpPluginResource = new Harness.Platform.IdpPlugin("idpPluginResource", new()
{
Configs = "string",
Identifier = "string",
Enabled = false,
EnvVariables = new[]
{
new Harness.Platform.Inputs.IdpPluginEnvVariableArgs
{
EnvName = "string",
HarnessSecretIdentifier = "string",
Type = "string",
Identifier = "string",
},
},
Name = "string",
Proxies = new[]
{
new Harness.Platform.Inputs.IdpPluginProxyArgs
{
Host = "string",
HealthCheckPath = "string",
Identifier = "string",
Proxy = false,
Selectors = new[]
{
"string",
},
},
},
});
example, err := platform.NewIdpPlugin(ctx, "idpPluginResource", &platform.IdpPluginArgs{
Configs: pulumi.String("string"),
Identifier: pulumi.String("string"),
Enabled: pulumi.Bool(false),
EnvVariables: platform.IdpPluginEnvVariableArray{
&platform.IdpPluginEnvVariableArgs{
EnvName: pulumi.String("string"),
HarnessSecretIdentifier: pulumi.String("string"),
Type: pulumi.String("string"),
Identifier: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Proxies: platform.IdpPluginProxyArray{
&platform.IdpPluginProxyArgs{
Host: pulumi.String("string"),
HealthCheckPath: pulumi.String("string"),
Identifier: pulumi.String("string"),
Proxy: pulumi.Bool(false),
Selectors: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
resource "harness_platform_idp_plugin" "idpPluginResource" {
lifecycle {
create_before_destroy = true
}
configs = "string"
identifier = "string"
enabled = false
env_variables {
env_name = "string"
harness_secret_identifier = "string"
type = "string"
identifier = "string"
}
name = "string"
proxies {
host = "string"
health_check_path = "string"
identifier = "string"
proxy = false
selectors = ["string"]
}
}
var idpPluginResource = new IdpPlugin("idpPluginResource", IdpPluginArgs.builder()
.configs("string")
.identifier("string")
.enabled(false)
.envVariables(IdpPluginEnvVariableArgs.builder()
.envName("string")
.harnessSecretIdentifier("string")
.type("string")
.identifier("string")
.build())
.name("string")
.proxies(IdpPluginProxyArgs.builder()
.host("string")
.healthCheckPath("string")
.identifier("string")
.proxy(false)
.selectors("string")
.build())
.build());
idp_plugin_resource = harness.platform.IdpPlugin("idpPluginResource",
configs="string",
identifier="string",
enabled=False,
env_variables=[{
"env_name": "string",
"harness_secret_identifier": "string",
"type": "string",
"identifier": "string",
}],
name="string",
proxies=[{
"host": "string",
"health_check_path": "string",
"identifier": "string",
"proxy": False,
"selectors": ["string"],
}])
const idpPluginResource = new harness.platform.IdpPlugin("idpPluginResource", {
configs: "string",
identifier: "string",
enabled: false,
envVariables: [{
envName: "string",
harnessSecretIdentifier: "string",
type: "string",
identifier: "string",
}],
name: "string",
proxies: [{
host: "string",
healthCheckPath: "string",
identifier: "string",
proxy: false,
selectors: ["string"],
}],
});
type: harness:platform:IdpPlugin
properties:
configs: string
enabled: false
envVariables:
- envName: string
harnessSecretIdentifier: string
identifier: string
type: string
identifier: string
name: string
proxies:
- healthCheckPath: string
host: string
identifier: string
proxy: false
selectors:
- string
IdpPlugin 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 IdpPlugin resource accepts the following input properties:
- Configs string
- Backstage YAML configuration for the plugin.
- Identifier string
- Unique identifier of the plugin.
- Enabled bool
- Whether the plugin should be enabled. Defaults to true.
- Env
Variables List<IdpPlugin Env Variable> - Secret environment variables injected into the plugin runtime.
- Name string
- Display name of the plugin configuration.
- Proxies
List<Idp
Plugin Proxy> - Delegate-based proxy configuration for outbound HTTP calls.
- Configs string
- Backstage YAML configuration for the plugin.
- Identifier string
- Unique identifier of the plugin.
- Enabled bool
- Whether the plugin should be enabled. Defaults to true.
- Env
Variables []IdpPlugin Env Variable Args - Secret environment variables injected into the plugin runtime.
- Name string
- Display name of the plugin configuration.
- Proxies
[]Idp
Plugin Proxy Args - Delegate-based proxy configuration for outbound HTTP calls.
- configs string
- Backstage YAML configuration for the plugin.
- identifier string
- Unique identifier of the plugin.
- enabled bool
- Whether the plugin should be enabled. Defaults to true.
- env_
variables list(object) - Secret environment variables injected into the plugin runtime.
- name string
- Display name of the plugin configuration.
- proxies list(object)
- Delegate-based proxy configuration for outbound HTTP calls.
- configs String
- Backstage YAML configuration for the plugin.
- identifier String
- Unique identifier of the plugin.
- enabled Boolean
- Whether the plugin should be enabled. Defaults to true.
- env
Variables List<IdpPlugin Env Variable> - Secret environment variables injected into the plugin runtime.
- name String
- Display name of the plugin configuration.
- proxies
List<Idp
Plugin Proxy> - Delegate-based proxy configuration for outbound HTTP calls.
- configs string
- Backstage YAML configuration for the plugin.
- identifier string
- Unique identifier of the plugin.
- enabled boolean
- Whether the plugin should be enabled. Defaults to true.
- env
Variables IdpPlugin Env Variable[] - Secret environment variables injected into the plugin runtime.
- name string
- Display name of the plugin configuration.
- proxies
Idp
Plugin Proxy[] - Delegate-based proxy configuration for outbound HTTP calls.
- configs str
- Backstage YAML configuration for the plugin.
- identifier str
- Unique identifier of the plugin.
- enabled bool
- Whether the plugin should be enabled. Defaults to true.
- env_
variables Sequence[IdpPlugin Env Variable Args] - Secret environment variables injected into the plugin runtime.
- name str
- Display name of the plugin configuration.
- proxies
Sequence[Idp
Plugin Proxy Args] - Delegate-based proxy configuration for outbound HTTP calls.
- configs String
- Backstage YAML configuration for the plugin.
- identifier String
- Unique identifier of the plugin.
- enabled Boolean
- Whether the plugin should be enabled. Defaults to true.
- env
Variables List<Property Map> - Secret environment variables injected into the plugin runtime.
- name String
- Display name of the plugin configuration.
- proxies List<Property Map>
- Delegate-based proxy configuration for outbound HTTP calls.
Outputs
All input properties are implicitly available as output properties. Additionally, the IdpPlugin 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 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 IdpPlugin Resource
Get an existing IdpPlugin 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?: IdpPluginState, opts?: CustomResourceOptions): IdpPlugin@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configs: Optional[str] = None,
enabled: Optional[bool] = None,
env_variables: Optional[Sequence[IdpPluginEnvVariableArgs]] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
proxies: Optional[Sequence[IdpPluginProxyArgs]] = None) -> IdpPluginfunc GetIdpPlugin(ctx *Context, name string, id IDInput, state *IdpPluginState, opts ...ResourceOption) (*IdpPlugin, error)public static IdpPlugin Get(string name, Input<string> id, IdpPluginState? state, CustomResourceOptions? opts = null)public static IdpPlugin get(String name, Output<String> id, IdpPluginState state, CustomResourceOptions options)resources: _: type: harness:platform:IdpPlugin get: id: ${id}import {
to = harness_platform_idp_plugin.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.
- Configs string
- Backstage YAML configuration for the plugin.
- Enabled bool
- Whether the plugin should be enabled. Defaults to true.
- Env
Variables List<IdpPlugin Env Variable> - Secret environment variables injected into the plugin runtime.
- Identifier string
- Unique identifier of the plugin.
- Name string
- Display name of the plugin configuration.
- Proxies
List<Idp
Plugin Proxy> - Delegate-based proxy configuration for outbound HTTP calls.
- Configs string
- Backstage YAML configuration for the plugin.
- Enabled bool
- Whether the plugin should be enabled. Defaults to true.
- Env
Variables []IdpPlugin Env Variable Args - Secret environment variables injected into the plugin runtime.
- Identifier string
- Unique identifier of the plugin.
- Name string
- Display name of the plugin configuration.
- Proxies
[]Idp
Plugin Proxy Args - Delegate-based proxy configuration for outbound HTTP calls.
- configs string
- Backstage YAML configuration for the plugin.
- enabled bool
- Whether the plugin should be enabled. Defaults to true.
- env_
variables list(object) - Secret environment variables injected into the plugin runtime.
- identifier string
- Unique identifier of the plugin.
- name string
- Display name of the plugin configuration.
- proxies list(object)
- Delegate-based proxy configuration for outbound HTTP calls.
- configs String
- Backstage YAML configuration for the plugin.
- enabled Boolean
- Whether the plugin should be enabled. Defaults to true.
- env
Variables List<IdpPlugin Env Variable> - Secret environment variables injected into the plugin runtime.
- identifier String
- Unique identifier of the plugin.
- name String
- Display name of the plugin configuration.
- proxies
List<Idp
Plugin Proxy> - Delegate-based proxy configuration for outbound HTTP calls.
- configs string
- Backstage YAML configuration for the plugin.
- enabled boolean
- Whether the plugin should be enabled. Defaults to true.
- env
Variables IdpPlugin Env Variable[] - Secret environment variables injected into the plugin runtime.
- identifier string
- Unique identifier of the plugin.
- name string
- Display name of the plugin configuration.
- proxies
Idp
Plugin Proxy[] - Delegate-based proxy configuration for outbound HTTP calls.
- configs str
- Backstage YAML configuration for the plugin.
- enabled bool
- Whether the plugin should be enabled. Defaults to true.
- env_
variables Sequence[IdpPlugin Env Variable Args] - Secret environment variables injected into the plugin runtime.
- identifier str
- Unique identifier of the plugin.
- name str
- Display name of the plugin configuration.
- proxies
Sequence[Idp
Plugin Proxy Args] - Delegate-based proxy configuration for outbound HTTP calls.
- configs String
- Backstage YAML configuration for the plugin.
- enabled Boolean
- Whether the plugin should be enabled. Defaults to true.
- env
Variables List<Property Map> - Secret environment variables injected into the plugin runtime.
- identifier String
- Unique identifier of the plugin.
- name String
- Display name of the plugin configuration.
- proxies List<Property Map>
- Delegate-based proxy configuration for outbound HTTP calls.
Supporting Types
IdpPluginEnvVariable, IdpPluginEnvVariableArgs
- Env
Name string - Name of the environment variable.
- Harness
Secret stringIdentifier - Harness secret identifier used as the value.
- Type string
- Type of the environment variable source. Valid values: Secret, Config.
- Identifier string
- Server-generated unique identifier for this env variable entry.
- Env
Name string - Name of the environment variable.
- Harness
Secret stringIdentifier - Harness secret identifier used as the value.
- Type string
- Type of the environment variable source. Valid values: Secret, Config.
- Identifier string
- Server-generated unique identifier for this env variable entry.
- env_
name string - Name of the environment variable.
- harness_
secret_ stringidentifier - Harness secret identifier used as the value.
- type string
- Type of the environment variable source. Valid values: Secret, Config.
- identifier string
- Server-generated unique identifier for this env variable entry.
- env
Name String - Name of the environment variable.
- harness
Secret StringIdentifier - Harness secret identifier used as the value.
- type String
- Type of the environment variable source. Valid values: Secret, Config.
- identifier String
- Server-generated unique identifier for this env variable entry.
- env
Name string - Name of the environment variable.
- harness
Secret stringIdentifier - Harness secret identifier used as the value.
- type string
- Type of the environment variable source. Valid values: Secret, Config.
- identifier string
- Server-generated unique identifier for this env variable entry.
- env_
name str - Name of the environment variable.
- harness_
secret_ stridentifier - Harness secret identifier used as the value.
- type str
- Type of the environment variable source. Valid values: Secret, Config.
- identifier str
- Server-generated unique identifier for this env variable entry.
- env
Name String - Name of the environment variable.
- harness
Secret StringIdentifier - Harness secret identifier used as the value.
- type String
- Type of the environment variable source. Valid values: Secret, Config.
- identifier String
- Server-generated unique identifier for this env variable entry.
IdpPluginProxy, IdpPluginProxyArgs
- Host string
- Proxy host.
- Health
Check stringPath - Health check path for the proxy endpoint.
- Identifier string
- Server-generated unique identifier for this proxy entry.
- Proxy bool
- Whether proxy is enabled for this host.
- Selectors List<string>
- Delegate selectors.
- Host string
- Proxy host.
- Health
Check stringPath - Health check path for the proxy endpoint.
- Identifier string
- Server-generated unique identifier for this proxy entry.
- Proxy bool
- Whether proxy is enabled for this host.
- Selectors []string
- Delegate selectors.
- host string
- Proxy host.
- health_
check_ stringpath - Health check path for the proxy endpoint.
- identifier string
- Server-generated unique identifier for this proxy entry.
- proxy bool
- Whether proxy is enabled for this host.
- selectors list(string)
- Delegate selectors.
- host String
- Proxy host.
- health
Check StringPath - Health check path for the proxy endpoint.
- identifier String
- Server-generated unique identifier for this proxy entry.
- proxy Boolean
- Whether proxy is enabled for this host.
- selectors List<String>
- Delegate selectors.
- host string
- Proxy host.
- health
Check stringPath - Health check path for the proxy endpoint.
- identifier string
- Server-generated unique identifier for this proxy entry.
- proxy boolean
- Whether proxy is enabled for this host.
- selectors string[]
- Delegate selectors.
- host str
- Proxy host.
- health_
check_ strpath - Health check path for the proxy endpoint.
- identifier str
- Server-generated unique identifier for this proxy entry.
- proxy bool
- Whether proxy is enabled for this host.
- selectors Sequence[str]
- Delegate selectors.
- host String
- Proxy host.
- health
Check StringPath - Health check path for the proxy endpoint.
- identifier String
- Server-generated unique identifier for this proxy entry.
- proxy Boolean
- Whether proxy is enabled for this host.
- selectors List<String>
- Delegate selectors.
Import
The pulumi import command can be used, for example:
Import an IDP plugin by its identifier
$ pulumi import harness:platform/idpPlugin:IdpPlugin example <plugin_identifier>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
published on Saturday, Sep 12, 2026 by Pulumi