1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. getConnectorCustomSecretManager
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

harness.platform.getConnectorCustomSecretManager

Explore with Pulumi AI

harness logo
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:platform/getConnectorCustomSecretManager:getConnectorCustomSecretManager
      arguments:
        # arguments dictionary

    The 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.
    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

    GetConnectorCustomSecretManagerTemplateInputEnvironmentVariable

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

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi