Harness v0.3.2 published on Monday, Sep 16, 2024 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)
// 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.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Name string
- : Name of the resource.
- Org
Id string - Project
Id string
- Identifier string
- : Unique identifier of the resource.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Name string
- : Name of the resource.
- Org
Id string - Project
Id string
- identifier String
- : Unique identifier of the resource.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- name String
- : Name of the resource.
- org
Id String - project
Id String
- identifier string
- : Unique identifier of the resource.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- name string
- : Name of the resource.
- org
Id string - project
Id 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.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- name String
- : Name of the resource.
- org
Id String - project
Id 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.
- On
Delegate bool - : Specifies whether the secrets manager runs on a Harness delegate.
- Ssh
Secret stringRef - : Reference to the Harness secret containing SSH credentials for the target host. Required if
on_delegate
is set to false. - List<string>
- : Tags to associate with the resource.
- Target
Host string - : Host address where secrets will be managed. Required if
on_delegate
is set to false. - Template
Inputs List<GetConnector Custom Secret Manager Template Input> - Template
Ref 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
. - Version
Label string - : Version identifier of the secrets management template.
- Working
Directory string - : Directory path on the target host where secrets management tasks are performed. Required if
on_delegate
is set to false. - Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Name string
- : Name of the resource.
- Org
Id string - Project
Id 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.
- On
Delegate bool - : Specifies whether the secrets manager runs on a Harness delegate.
- Ssh
Secret stringRef - : Reference to the Harness secret containing SSH credentials for the target host. Required if
on_delegate
is set to false. - []string
- : Tags to associate with the resource.
- Target
Host string - : Host address where secrets will be managed. Required if
on_delegate
is set to false. - Template
Inputs []GetConnector Custom Secret Manager Template Input - Template
Ref 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
. - Version
Label string - : Version identifier of the secrets management template.
- Working
Directory string - : Directory path on the target host where secrets management tasks are performed. Required if
on_delegate
is set to false. - Delegate
Selectors []string - Tags to filter delegates for connection.
- Name string
- : Name of the resource.
- Org
Id string - Project
Id 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.
- on
Delegate Boolean - : Specifies whether the secrets manager runs on a Harness delegate.
- ssh
Secret StringRef - : Reference to the Harness secret containing SSH credentials for the target host. Required if
on_delegate
is set to false. - List<String>
- : Tags to associate with the resource.
- target
Host String - : Host address where secrets will be managed. Required if
on_delegate
is set to false. - template
Inputs List<GetConnector Custom Secret Manager Template Input> - template
Ref 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
. - version
Label String - : Version identifier of the secrets management template.
- working
Directory String - : Directory path on the target host where secrets management tasks are performed. Required if
on_delegate
is set to false. - delegate
Selectors List<String> - Tags to filter delegates for connection.
- name String
- : Name of the resource.
- org
Id String - project
Id 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.
- on
Delegate boolean - : Specifies whether the secrets manager runs on a Harness delegate.
- ssh
Secret stringRef - : Reference to the Harness secret containing SSH credentials for the target host. Required if
on_delegate
is set to false. - string[]
- : Tags to associate with the resource.
- target
Host string - : Host address where secrets will be managed. Required if
on_delegate
is set to false. - template
Inputs GetConnector Custom Secret Manager Template Input[] - template
Ref 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
. - version
Label string - : Version identifier of the secrets management template.
- working
Directory string - : Directory path on the target host where secrets management tasks are performed. Required if
on_delegate
is set to false. - delegate
Selectors string[] - Tags to filter delegates for connection.
- name string
- : Name of the resource.
- org
Id string - project
Id 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_delegate
is set to false. - 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[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_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.
- on
Delegate Boolean - : Specifies whether the secrets manager runs on a Harness delegate.
- ssh
Secret StringRef - : Reference to the Harness secret containing SSH credentials for the target host. Required if
on_delegate
is set to false. - List<String>
- : Tags to associate with the resource.
- target
Host String - : Host address where secrets will be managed. Required if
on_delegate
is set to false. - template
Inputs List<Property Map> - template
Ref 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
. - version
Label String - : Version identifier of the secrets management template.
- working
Directory String - : Directory path on the target host where secrets management tasks are performed. Required if
on_delegate
is set to false. - delegate
Selectors List<String> - Tags to filter delegates for connection.
- name String
- : Name of the resource.
- org
Id String - project
Id String
Supporting Types
GetConnectorCustomSecretManagerTemplateInput
GetConnectorCustomSecretManagerTemplateInputEnvironmentVariable
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.