1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. ConnectorCustomSecretManager
Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi

harness.platform.ConnectorCustomSecretManager

Explore with Pulumi AI

harness logo
Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi

    Resource for creating a Custom Secrets Manager (CSM) connector.

    Create ConnectorCustomSecretManager Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConnectorCustomSecretManager(name: string, args: ConnectorCustomSecretManagerArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectorCustomSecretManager(resource_name: str,
                                     args: ConnectorCustomSecretManagerArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectorCustomSecretManager(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     template_ref: Optional[str] = None,
                                     version_label: Optional[str] = None,
                                     identifier: Optional[str] = None,
                                     tags: Optional[Sequence[str]] = None,
                                     on_delegate: Optional[bool] = None,
                                     org_id: Optional[str] = None,
                                     project_id: Optional[str] = None,
                                     ssh_secret_ref: Optional[str] = None,
                                     delegate_selectors: Optional[Sequence[str]] = None,
                                     target_host: Optional[str] = None,
                                     template_inputs: Optional[Sequence[ConnectorCustomSecretManagerTemplateInputArgs]] = None,
                                     name: Optional[str] = None,
                                     timeout: Optional[int] = None,
                                     type: Optional[str] = None,
                                     description: Optional[str] = None,
                                     working_directory: Optional[str] = None)
    func NewConnectorCustomSecretManager(ctx *Context, name string, args ConnectorCustomSecretManagerArgs, opts ...ResourceOption) (*ConnectorCustomSecretManager, error)
    public ConnectorCustomSecretManager(string name, ConnectorCustomSecretManagerArgs args, CustomResourceOptions? opts = null)
    public ConnectorCustomSecretManager(String name, ConnectorCustomSecretManagerArgs args)
    public ConnectorCustomSecretManager(String name, ConnectorCustomSecretManagerArgs args, CustomResourceOptions options)
    
    type: harness:platform:ConnectorCustomSecretManager
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConnectorCustomSecretManagerArgs
    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 ConnectorCustomSecretManagerArgs
    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 ConnectorCustomSecretManagerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectorCustomSecretManagerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectorCustomSecretManagerArgs
    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 connectorCustomSecretManagerResource = new Harness.Platform.ConnectorCustomSecretManager("connectorCustomSecretManagerResource", new()
    {
        TemplateRef = "string",
        VersionLabel = "string",
        Identifier = "string",
        Tags = new[]
        {
            "string",
        },
        OnDelegate = false,
        OrgId = "string",
        ProjectId = "string",
        SshSecretRef = "string",
        DelegateSelectors = new[]
        {
            "string",
        },
        TargetHost = "string",
        TemplateInputs = new[]
        {
            new Harness.Platform.Inputs.ConnectorCustomSecretManagerTemplateInputArgs
            {
                EnvironmentVariables = new[]
                {
                    new Harness.Platform.Inputs.ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgs
                    {
                        Name = "string",
                        Type = "string",
                        Value = "string",
                        Default = false,
                    },
                },
            },
        },
        Name = "string",
        Timeout = 0,
        Type = "string",
        Description = "string",
        WorkingDirectory = "string",
    });
    
    example, err := platform.NewConnectorCustomSecretManager(ctx, "connectorCustomSecretManagerResource", &platform.ConnectorCustomSecretManagerArgs{
    	TemplateRef:  pulumi.String("string"),
    	VersionLabel: pulumi.String("string"),
    	Identifier:   pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OnDelegate:   pulumi.Bool(false),
    	OrgId:        pulumi.String("string"),
    	ProjectId:    pulumi.String("string"),
    	SshSecretRef: pulumi.String("string"),
    	DelegateSelectors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TargetHost: pulumi.String("string"),
    	TemplateInputs: platform.ConnectorCustomSecretManagerTemplateInputArray{
    		&platform.ConnectorCustomSecretManagerTemplateInputArgs{
    			EnvironmentVariables: platform.ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArray{
    				&platform.ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgs{
    					Name:    pulumi.String("string"),
    					Type:    pulumi.String("string"),
    					Value:   pulumi.String("string"),
    					Default: pulumi.Bool(false),
    				},
    			},
    		},
    	},
    	Name:             pulumi.String("string"),
    	Timeout:          pulumi.Int(0),
    	Type:             pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	WorkingDirectory: pulumi.String("string"),
    })
    
    var connectorCustomSecretManagerResource = new ConnectorCustomSecretManager("connectorCustomSecretManagerResource", ConnectorCustomSecretManagerArgs.builder()
        .templateRef("string")
        .versionLabel("string")
        .identifier("string")
        .tags("string")
        .onDelegate(false)
        .orgId("string")
        .projectId("string")
        .sshSecretRef("string")
        .delegateSelectors("string")
        .targetHost("string")
        .templateInputs(ConnectorCustomSecretManagerTemplateInputArgs.builder()
            .environmentVariables(ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgs.builder()
                .name("string")
                .type("string")
                .value("string")
                .default_(false)
                .build())
            .build())
        .name("string")
        .timeout(0)
        .type("string")
        .description("string")
        .workingDirectory("string")
        .build());
    
    connector_custom_secret_manager_resource = harness.platform.ConnectorCustomSecretManager("connectorCustomSecretManagerResource",
        template_ref="string",
        version_label="string",
        identifier="string",
        tags=["string"],
        on_delegate=False,
        org_id="string",
        project_id="string",
        ssh_secret_ref="string",
        delegate_selectors=["string"],
        target_host="string",
        template_inputs=[{
            "environment_variables": [{
                "name": "string",
                "type": "string",
                "value": "string",
                "default": False,
            }],
        }],
        name="string",
        timeout=0,
        type="string",
        description="string",
        working_directory="string")
    
    const connectorCustomSecretManagerResource = new harness.platform.ConnectorCustomSecretManager("connectorCustomSecretManagerResource", {
        templateRef: "string",
        versionLabel: "string",
        identifier: "string",
        tags: ["string"],
        onDelegate: false,
        orgId: "string",
        projectId: "string",
        sshSecretRef: "string",
        delegateSelectors: ["string"],
        targetHost: "string",
        templateInputs: [{
            environmentVariables: [{
                name: "string",
                type: "string",
                value: "string",
                "default": false,
            }],
        }],
        name: "string",
        timeout: 0,
        type: "string",
        description: "string",
        workingDirectory: "string",
    });
    
    type: harness:platform:ConnectorCustomSecretManager
    properties:
        delegateSelectors:
            - string
        description: string
        identifier: string
        name: string
        onDelegate: false
        orgId: string
        projectId: string
        sshSecretRef: string
        tags:
            - string
        targetHost: string
        templateInputs:
            - environmentVariables:
                - default: false
                  name: string
                  type: string
                  value: string
        templateRef: string
        timeout: 0
        type: string
        versionLabel: string
        workingDirectory: string
    

    ConnectorCustomSecretManager 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 ConnectorCustomSecretManager resource accepts the following input properties:

    Identifier string
    Unique identifier of the resource.
    TemplateRef string
    VersionLabel string
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Name string
    Name of the resource.
    OnDelegate bool
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    SshSecretRef string
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    Tags List<string>
    Tags to associate with the resource.
    TargetHost string
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    TemplateInputs List<ConnectorCustomSecretManagerTemplateInput>
    Timeout int
    Type string
    WorkingDirectory string
    The working directory for operations, required if 'on_delegate' is false.
    Identifier string
    Unique identifier of the resource.
    TemplateRef string
    VersionLabel string
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Name string
    Name of the resource.
    OnDelegate bool
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    SshSecretRef string
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    Tags []string
    Tags to associate with the resource.
    TargetHost string
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    TemplateInputs []ConnectorCustomSecretManagerTemplateInputArgs
    Timeout int
    Type string
    WorkingDirectory string
    The working directory for operations, required if 'on_delegate' is false.
    identifier String
    Unique identifier of the resource.
    templateRef String
    versionLabel String
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    name String
    Name of the resource.
    onDelegate Boolean
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    sshSecretRef String
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags List<String>
    Tags to associate with the resource.
    targetHost String
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    templateInputs List<ConnectorCustomSecretManagerTemplateInput>
    timeout Integer
    type String
    workingDirectory String
    The working directory for operations, required if 'on_delegate' is false.
    identifier string
    Unique identifier of the resource.
    templateRef string
    versionLabel string
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    name string
    Name of the resource.
    onDelegate boolean
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    sshSecretRef string
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags string[]
    Tags to associate with the resource.
    targetHost string
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    templateInputs ConnectorCustomSecretManagerTemplateInput[]
    timeout number
    type string
    workingDirectory string
    The working directory for operations, required if 'on_delegate' is false.
    identifier str
    Unique identifier of the resource.
    template_ref str
    version_label str
    delegate_selectors Sequence[str]
    Tags to filter delegates for connection.
    description str
    Description of the resource.
    name str
    Name of the resource.
    on_delegate bool
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    ssh_secret_ref str
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags Sequence[str]
    Tags to associate with the resource.
    target_host str
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    template_inputs Sequence[ConnectorCustomSecretManagerTemplateInputArgs]
    timeout int
    type str
    working_directory str
    The working directory for operations, required if 'on_delegate' is false.
    identifier String
    Unique identifier of the resource.
    templateRef String
    versionLabel String
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    name String
    Name of the resource.
    onDelegate Boolean
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    sshSecretRef String
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags List<String>
    Tags to associate with the resource.
    targetHost String
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    templateInputs List<Property Map>
    timeout Number
    type String
    workingDirectory String
    The working directory for operations, required if 'on_delegate' is false.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectorCustomSecretManager 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ConnectorCustomSecretManager Resource

    Get an existing ConnectorCustomSecretManager 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?: ConnectorCustomSecretManagerState, opts?: CustomResourceOptions): ConnectorCustomSecretManager
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            delegate_selectors: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            on_delegate: Optional[bool] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            ssh_secret_ref: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            target_host: Optional[str] = None,
            template_inputs: Optional[Sequence[ConnectorCustomSecretManagerTemplateInputArgs]] = None,
            template_ref: Optional[str] = None,
            timeout: Optional[int] = None,
            type: Optional[str] = None,
            version_label: Optional[str] = None,
            working_directory: Optional[str] = None) -> ConnectorCustomSecretManager
    func GetConnectorCustomSecretManager(ctx *Context, name string, id IDInput, state *ConnectorCustomSecretManagerState, opts ...ResourceOption) (*ConnectorCustomSecretManager, error)
    public static ConnectorCustomSecretManager Get(string name, Input<string> id, ConnectorCustomSecretManagerState? state, CustomResourceOptions? opts = null)
    public static ConnectorCustomSecretManager get(String name, Output<String> id, ConnectorCustomSecretManagerState state, CustomResourceOptions options)
    resources:  _:    type: harness:platform:ConnectorCustomSecretManager    get:      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.
    The following state arguments are supported:
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OnDelegate bool
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    SshSecretRef string
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    Tags List<string>
    Tags to associate with the resource.
    TargetHost string
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    TemplateInputs List<ConnectorCustomSecretManagerTemplateInput>
    TemplateRef string
    Timeout int
    Type string
    VersionLabel string
    WorkingDirectory string
    The working directory for operations, required if 'on_delegate' is false.
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OnDelegate bool
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    SshSecretRef string
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    Tags []string
    Tags to associate with the resource.
    TargetHost string
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    TemplateInputs []ConnectorCustomSecretManagerTemplateInputArgs
    TemplateRef string
    Timeout int
    Type string
    VersionLabel string
    WorkingDirectory string
    The working directory for operations, required if 'on_delegate' is false.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    onDelegate Boolean
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    sshSecretRef String
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags List<String>
    Tags to associate with the resource.
    targetHost String
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    templateInputs List<ConnectorCustomSecretManagerTemplateInput>
    templateRef String
    timeout Integer
    type String
    versionLabel String
    workingDirectory String
    The working directory for operations, required if 'on_delegate' is false.
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    onDelegate boolean
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    sshSecretRef string
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags string[]
    Tags to associate with the resource.
    targetHost string
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    templateInputs ConnectorCustomSecretManagerTemplateInput[]
    templateRef string
    timeout number
    type string
    versionLabel string
    workingDirectory string
    The working directory for operations, required if 'on_delegate' is false.
    delegate_selectors Sequence[str]
    Tags to filter delegates for connection.
    description str
    Description of the resource.
    identifier str
    Unique identifier of the resource.
    name str
    Name of the resource.
    on_delegate bool
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    ssh_secret_ref str
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags Sequence[str]
    Tags to associate with the resource.
    target_host str
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    template_inputs Sequence[ConnectorCustomSecretManagerTemplateInputArgs]
    template_ref str
    timeout int
    type str
    version_label str
    working_directory str
    The working directory for operations, required if 'on_delegate' is false.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    onDelegate Boolean
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    sshSecretRef String
    SSH secret reference for the custom secrets manager, required if 'on_delegate' is false.
    tags List<String>
    Tags to associate with the resource.
    targetHost String
    Host where the custom secrets manager is located, required if 'on_delegate' is false.
    templateInputs List<Property Map>
    templateRef String
    timeout Number
    type String
    versionLabel String
    workingDirectory String
    The working directory for operations, required if 'on_delegate' is false.

    Supporting Types

    ConnectorCustomSecretManagerTemplateInput, ConnectorCustomSecretManagerTemplateInputArgs

    ConnectorCustomSecretManagerTemplateInputEnvironmentVariable, ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgs

    Name string
    Type string
    Value string
    Default bool
    Name string
    Type string
    Value string
    Default bool
    name String
    type String
    value String
    default_ Boolean
    name string
    type string
    value string
    default boolean
    name str
    type str
    value str
    default bool
    name String
    type String
    value String
    default Boolean

    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.8.4 published on Thursday, Sep 11, 2025 by Pulumi