Harness v0.5.7 published on Saturday, Mar 8, 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",
});
import pulumi
import pulumi_harness as harness
example = harness.platform.get_connector_custom_secret_manager(identifier="identifier")
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
	})
}
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",
    });
});
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());
    }
}
variables:
  example:
    fn::invoke:
      function: harness:platform:getConnectorCustomSecretManager
      arguments:
        identifier: identifier
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>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]func LookupConnectorCustomSecretManager(ctx *Context, args *LookupConnectorCustomSecretManagerArgs, opts ...InvokeOption) (*LookupConnectorCustomSecretManagerResult, error)
func LookupConnectorCustomSecretManagerOutput(ctx *Context, args *LookupConnectorCustomSecretManagerOutputArgs, opts ...InvokeOption) LookupConnectorCustomSecretManagerResultOutput> 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)
}public static CompletableFuture<GetConnectorCustomSecretManagerResult> getConnectorCustomSecretManager(GetConnectorCustomSecretManagerArgs args, InvokeOptions options)
public static Output<GetConnectorCustomSecretManagerResult> getConnectorCustomSecretManager(GetConnectorCustomSecretManagerArgs args, InvokeOptions options)
fn::invoke:
  function: harness:platform/getConnectorCustomSecretManager:getConnectorCustomSecretManager
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Identifier 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 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 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 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 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 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.
- SshSecret stringRef 
- : Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegateis set to false.
- List<string>
- : Tags to associate with the resource.
- TargetHost string
- : Host address where secrets will be managed. Required if on_delegateis set to false.
- TemplateInputs List<GetConnector Custom Secret Manager Template Input> 
- 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_delegateis 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.
- SshSecret stringRef 
- : Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegateis set to false.
- []string
- : Tags to associate with the resource.
- TargetHost string
- : Host address where secrets will be managed. Required if on_delegateis set to false.
- TemplateInputs []GetConnector Custom Secret Manager Template Input 
- 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_delegateis 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.
- sshSecret StringRef 
- : Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegateis set to false.
- List<String>
- : Tags to associate with the resource.
- targetHost String
- : Host address where secrets will be managed. Required if on_delegateis set to false.
- templateInputs List<GetConnector Custom Secret Manager Template Input> 
- 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_delegateis 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.
- sshSecret stringRef 
- : Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegateis set to false.
- string[]
- : Tags to associate with the resource.
- targetHost string
- : Host address where secrets will be managed. Required if on_delegateis set to false.
- templateInputs GetConnector Custom Secret Manager Template Input[] 
- 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_delegateis 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_ strref 
- : Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegateis set to false.
- Sequence[str]
- : Tags to associate with the resource.
- target_host str
- : Host address where secrets will be managed. Required if on_delegateis set to false.
- template_inputs Sequence[GetConnector Custom Secret Manager Template Input] 
- 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_delegateis 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.
- sshSecret StringRef 
- : Reference to the Harness secret containing SSH credentials for the target host. Required if on_delegateis set to false.
- List<String>
- : Tags to associate with the resource.
- targetHost String
- : Host address where secrets will be managed. Required if on_delegateis 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_delegateis 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      
GetConnectorCustomSecretManagerTemplateInputEnvironmentVariable        
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the harnessTerraform Provider.
