1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getConnectorCustomSecretManager
Harness v0.7.1 published on Saturday, Mar 29, 2025 by Pulumi

harness.platform.getConnectorCustomSecretManager

Explore with Pulumi AI

Example Usage

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

const example = harness.platform.getConnectorCustomSecretManager({
    identifier: "identifier",
});
Copy
import pulumi
import pulumi_harness as harness

example = harness.platform.get_connector_custom_secret_manager(identifier="identifier")
Copy
package main

import (
	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := platform.LookupConnectorCustomSecretManager(ctx, &platform.LookupConnectorCustomSecretManagerArgs{
			Identifier: "identifier",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;

return await Deployment.RunAsync(() => 
{
    var example = Harness.Platform.GetConnectorCustomSecretManager.Invoke(new()
    {
        Identifier = "identifier",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetConnectorCustomSecretManagerArgs;
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 example = PlatformFunctions.getConnectorCustomSecretManager(GetConnectorCustomSecretManagerArgs.builder()
            .identifier("identifier")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: harness:platform:getConnectorCustomSecretManager
      arguments:
        identifier: identifier
Copy

Using getConnectorCustomSecretManager

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getConnectorCustomSecretManager(args: GetConnectorCustomSecretManagerArgs, opts?: InvokeOptions): Promise<GetConnectorCustomSecretManagerResult>
function getConnectorCustomSecretManagerOutput(args: GetConnectorCustomSecretManagerOutputArgs, opts?: InvokeOptions): Output<GetConnectorCustomSecretManagerResult>
Copy
def get_connector_custom_secret_manager(delegate_selectors: Optional[Sequence[str]] = None,
                                        identifier: Optional[str] = None,
                                        name: Optional[str] = None,
                                        org_id: Optional[str] = None,
                                        project_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetConnectorCustomSecretManagerResult
def get_connector_custom_secret_manager_output(delegate_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                        identifier: Optional[pulumi.Input[str]] = None,
                                        name: Optional[pulumi.Input[str]] = None,
                                        org_id: Optional[pulumi.Input[str]] = None,
                                        project_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetConnectorCustomSecretManagerResult]
Copy
func LookupConnectorCustomSecretManager(ctx *Context, args *LookupConnectorCustomSecretManagerArgs, opts ...InvokeOption) (*LookupConnectorCustomSecretManagerResult, error)
func LookupConnectorCustomSecretManagerOutput(ctx *Context, args *LookupConnectorCustomSecretManagerOutputArgs, opts ...InvokeOption) LookupConnectorCustomSecretManagerResultOutput
Copy

> Note: This function is named LookupConnectorCustomSecretManager in the Go SDK.

public static class GetConnectorCustomSecretManager 
{
    public static Task<GetConnectorCustomSecretManagerResult> InvokeAsync(GetConnectorCustomSecretManagerArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectorCustomSecretManagerResult> Invoke(GetConnectorCustomSecretManagerInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConnectorCustomSecretManagerResult> getConnectorCustomSecretManager(GetConnectorCustomSecretManagerArgs args, InvokeOptions options)
public static Output<GetConnectorCustomSecretManagerResult> getConnectorCustomSecretManager(GetConnectorCustomSecretManagerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: harness:platform/getConnectorCustomSecretManager:getConnectorCustomSecretManager
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Identifier
This property is required.
Changes to this property will trigger replacement.
string
: Unique identifier of the resource.
DelegateSelectors List<string>
Tags to filter delegates for connection.
Name string
: Name of the resource.
OrgId string
ProjectId string
Identifier
This property is required.
Changes to this property will trigger replacement.
string
: Unique identifier of the resource.
DelegateSelectors []string
Tags to filter delegates for connection.
Name string
: Name of the resource.
OrgId string
ProjectId string
identifier
This property is required.
Changes to this property will trigger replacement.
String
: Unique identifier of the resource.
delegateSelectors List<String>
Tags to filter delegates for connection.
name String
: Name of the resource.
orgId String
projectId String
identifier
This property is required.
Changes to this property will trigger replacement.
string
: Unique identifier of the resource.
delegateSelectors string[]
Tags to filter delegates for connection.
name string
: Name of the resource.
orgId string
projectId string
identifier
This property is required.
Changes to this property will trigger replacement.
str
: Unique identifier of the resource.
delegate_selectors Sequence[str]
Tags to filter delegates for connection.
name str
: Name of the resource.
org_id str
project_id str
identifier
This property is required.
Changes to this property will trigger replacement.
String
: Unique identifier of the resource.
delegateSelectors List<String>
Tags to filter delegates for connection.
name String
: Name of the resource.
orgId String
projectId String

getConnectorCustomSecretManager Result

The following output properties are available:

Description string
: A brief description of what the resource does or is used for.
Id string
The provider-assigned unique ID for this managed resource.
Identifier string
: Unique identifier of the resource.
OnDelegate bool
: Specifies whether the secrets manager runs on a Harness delegate.
SshSecretRef string
: Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegate is set to false.
Tags List<string>
: Tags to associate with the resource.
TargetHost string
: Host address where secrets will be managed. Required if on_delegate is set to false.
TemplateInputs List<GetConnectorCustomSecretManagerTemplateInput>
TemplateRef string
: Reference to the template used for managing secrets.
Timeout int
: Timeout in seconds for secrets management operations.
Type string
: Type of the custom secrets manager, typically set to CustomSecretManager.
VersionLabel string
: Version identifier of the secrets management template.
WorkingDirectory string
: Directory path on the target host where secrets management tasks are performed. Required if on_delegate is set to false.
DelegateSelectors List<string>
Tags to filter delegates for connection.
Name string
: Name of the resource.
OrgId string
ProjectId string
Description string
: A brief description of what the resource does or is used for.
Id string
The provider-assigned unique ID for this managed resource.
Identifier string
: Unique identifier of the resource.
OnDelegate bool
: Specifies whether the secrets manager runs on a Harness delegate.
SshSecretRef string
: Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegate is set to false.
Tags []string
: Tags to associate with the resource.
TargetHost string
: Host address where secrets will be managed. Required if on_delegate is set to false.
TemplateInputs []GetConnectorCustomSecretManagerTemplateInput
TemplateRef string
: Reference to the template used for managing secrets.
Timeout int
: Timeout in seconds for secrets management operations.
Type string
: Type of the custom secrets manager, typically set to CustomSecretManager.
VersionLabel string
: Version identifier of the secrets management template.
WorkingDirectory string
: Directory path on the target host where secrets management tasks are performed. Required if on_delegate is set to false.
DelegateSelectors []string
Tags to filter delegates for connection.
Name string
: Name of the resource.
OrgId string
ProjectId string
description String
: A brief description of what the resource does or is used for.
id String
The provider-assigned unique ID for this managed resource.
identifier String
: Unique identifier of the resource.
onDelegate Boolean
: Specifies whether the secrets manager runs on a Harness delegate.
sshSecretRef String
: Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegate is set to false.
tags List<String>
: Tags to associate with the resource.
targetHost String
: Host address where secrets will be managed. Required if on_delegate is set to false.
templateInputs List<GetConnectorCustomSecretManagerTemplateInput>
templateRef String
: Reference to the template used for managing secrets.
timeout Integer
: Timeout in seconds for secrets management operations.
type String
: Type of the custom secrets manager, typically set to CustomSecretManager.
versionLabel String
: Version identifier of the secrets management template.
workingDirectory String
: Directory path on the target host where secrets management tasks are performed. Required if on_delegate is set to false.
delegateSelectors List<String>
Tags to filter delegates for connection.
name String
: Name of the resource.
orgId String
projectId String
description string
: A brief description of what the resource does or is used for.
id string
The provider-assigned unique ID for this managed resource.
identifier string
: Unique identifier of the resource.
onDelegate boolean
: Specifies whether the secrets manager runs on a Harness delegate.
sshSecretRef string
: Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegate is set to false.
tags string[]
: Tags to associate with the resource.
targetHost string
: Host address where secrets will be managed. Required if on_delegate is set to false.
templateInputs GetConnectorCustomSecretManagerTemplateInput[]
templateRef string
: Reference to the template used for managing secrets.
timeout number
: Timeout in seconds for secrets management operations.
type string
: Type of the custom secrets manager, typically set to CustomSecretManager.
versionLabel string
: Version identifier of the secrets management template.
workingDirectory string
: Directory path on the target host where secrets management tasks are performed. Required if on_delegate is set to false.
delegateSelectors string[]
Tags to filter delegates for connection.
name string
: Name of the resource.
orgId string
projectId string
description str
: A brief description of what the resource does or is used for.
id str
The provider-assigned unique ID for this managed resource.
identifier str
: Unique identifier of the resource.
on_delegate bool
: Specifies whether the secrets manager runs on a Harness delegate.
ssh_secret_ref str
: Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegate is set to false.
tags Sequence[str]
: Tags to associate with the resource.
target_host str
: Host address where secrets will be managed. Required if on_delegate is set to false.
template_inputs Sequence[GetConnectorCustomSecretManagerTemplateInput]
template_ref str
: Reference to the template used for managing secrets.
timeout int
: Timeout in seconds for secrets management operations.
type str
: Type of the custom secrets manager, typically set to CustomSecretManager.
version_label str
: Version identifier of the secrets management template.
working_directory str
: Directory path on the target host where secrets management tasks are performed. Required if on_delegate is set to false.
delegate_selectors Sequence[str]
Tags to filter delegates for connection.
name str
: Name of the resource.
org_id str
project_id str
description String
: A brief description of what the resource does or is used for.
id String
The provider-assigned unique ID for this managed resource.
identifier String
: Unique identifier of the resource.
onDelegate Boolean
: Specifies whether the secrets manager runs on a Harness delegate.
sshSecretRef String
: Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegate is set to false.
tags List<String>
: Tags to associate with the resource.
targetHost String
: Host address where secrets will be managed. Required if on_delegate is set to false.
templateInputs List<Property Map>
templateRef String
: Reference to the template used for managing secrets.
timeout Number
: Timeout in seconds for secrets management operations.
type String
: Type of the custom secrets manager, typically set to CustomSecretManager.
versionLabel String
: Version identifier of the secrets management template.
workingDirectory String
: Directory path on the target host where secrets management tasks are performed. Required if on_delegate is set to false.
delegateSelectors List<String>
Tags to filter delegates for connection.
name String
: Name of the resource.
orgId String
projectId String

Supporting Types

GetConnectorCustomSecretManagerTemplateInput

environmentVariables This property is required. List<Property Map>

GetConnectorCustomSecretManagerTemplateInputEnvironmentVariable

Default This property is required. bool
Name This property is required. string
: Name of the resource.
Type This property is required. string
: Type of the custom secrets manager, typically set to CustomSecretManager.
Value This property is required. string
Default This property is required. bool
Name This property is required. string
: Name of the resource.
Type This property is required. string
: Type of the custom secrets manager, typically set to CustomSecretManager.
Value This property is required. string
default_ This property is required. Boolean
name This property is required. String
: Name of the resource.
type This property is required. String
: Type of the custom secrets manager, typically set to CustomSecretManager.
value This property is required. String
default This property is required. boolean
name This property is required. string
: Name of the resource.
type This property is required. string
: Type of the custom secrets manager, typically set to CustomSecretManager.
value This property is required. string
default This property is required. bool
name This property is required. str
: Name of the resource.
type This property is required. str
: Type of the custom secrets manager, typically set to CustomSecretManager.
value This property is required. str
default This property is required. Boolean
name This property is required. String
: Name of the resource.
type This property is required. String
: Type of the custom secrets manager, typically set to CustomSecretManager.
value This property is required. String

Package Details

Repository
harness pulumi/pulumi-harness
License
Apache-2.0
Notes
This Pulumi package is based on the harness Terraform Provider.