Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Data source for retrieving a Harness secret manager
Using getSecretManager
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 getSecretManager(args: GetSecretManagerArgs, opts?: InvokeOptions): Promise<GetSecretManagerResult>
function getSecretManagerOutput(args: GetSecretManagerOutputArgs, opts?: InvokeOptions): Output<GetSecretManagerResult>def get_secret_manager(default: Optional[bool] = None,
id: Optional[str] = None,
name: Optional[str] = None,
usage_scopes: Optional[Sequence[GetSecretManagerUsageScope]] = None,
opts: Optional[InvokeOptions] = None) -> GetSecretManagerResult
def get_secret_manager_output(default: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
usage_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[GetSecretManagerUsageScopeArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecretManagerResult]func GetSecretManager(ctx *Context, args *GetSecretManagerArgs, opts ...InvokeOption) (*GetSecretManagerResult, error)
func GetSecretManagerOutput(ctx *Context, args *GetSecretManagerOutputArgs, opts ...InvokeOption) GetSecretManagerResultOutput> Note: This function is named GetSecretManager in the Go SDK.
public static class GetSecretManager
{
public static Task<GetSecretManagerResult> InvokeAsync(GetSecretManagerArgs args, InvokeOptions? opts = null)
public static Output<GetSecretManagerResult> Invoke(GetSecretManagerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecretManagerResult> getSecretManager(GetSecretManagerArgs args, InvokeOptions options)
public static Output<GetSecretManagerResult> getSecretManager(GetSecretManagerArgs args, InvokeOptions options)
fn::invoke:
function: harness:index/getSecretManager:getSecretManager
arguments:
# arguments dictionaryThe following arguments are supported:
- Default bool
- True to lookup the id of the default secret manager
- Id string
- Unique identifier of the secret manager
- Name string
- The name of the secret manager
- Usage
Scopes List<GetSecret Manager Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- Default bool
- True to lookup the id of the default secret manager
- Id string
- Unique identifier of the secret manager
- Name string
- The name of the secret manager
- Usage
Scopes []GetSecret Manager Usage Scope - This block is used for scoping the resource to a specific set of applications or environments.
- default_ Boolean
- True to lookup the id of the default secret manager
- id String
- Unique identifier of the secret manager
- name String
- The name of the secret manager
- usage
Scopes List<GetSecret Manager Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- default boolean
- True to lookup the id of the default secret manager
- id string
- Unique identifier of the secret manager
- name string
- The name of the secret manager
- usage
Scopes GetSecret Manager Usage Scope[] - This block is used for scoping the resource to a specific set of applications or environments.
- default bool
- True to lookup the id of the default secret manager
- id str
- Unique identifier of the secret manager
- name str
- The name of the secret manager
- usage_
scopes Sequence[GetSecret Manager Usage Scope] - This block is used for scoping the resource to a specific set of applications or environments.
- default Boolean
- True to lookup the id of the default secret manager
- id String
- Unique identifier of the secret manager
- name String
- The name of the secret manager
- usage
Scopes List<Property Map> - This block is used for scoping the resource to a specific set of applications or environments.
getSecretManager Result
The following output properties are available:
- Default bool
- True to lookup the id of the default secret manager
- Id string
- Unique identifier of the secret manager
- Name string
- The name of the secret manager
- Usage
Scopes List<GetSecret Manager Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- Default bool
- True to lookup the id of the default secret manager
- Id string
- Unique identifier of the secret manager
- Name string
- The name of the secret manager
- Usage
Scopes []GetSecret Manager Usage Scope - This block is used for scoping the resource to a specific set of applications or environments.
- default_ Boolean
- True to lookup the id of the default secret manager
- id String
- Unique identifier of the secret manager
- name String
- The name of the secret manager
- usage
Scopes List<GetSecret Manager Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- default boolean
- True to lookup the id of the default secret manager
- id string
- Unique identifier of the secret manager
- name string
- The name of the secret manager
- usage
Scopes GetSecret Manager Usage Scope[] - This block is used for scoping the resource to a specific set of applications or environments.
- default bool
- True to lookup the id of the default secret manager
- id str
- Unique identifier of the secret manager
- name str
- The name of the secret manager
- usage_
scopes Sequence[GetSecret Manager Usage Scope] - This block is used for scoping the resource to a specific set of applications or environments.
- default Boolean
- True to lookup the id of the default secret manager
- id String
- Unique identifier of the secret manager
- name String
- The name of the secret manager
- usage
Scopes List<Property Map> - This block is used for scoping the resource to a specific set of applications or environments.
Supporting Types
GetSecretManagerUsageScope
- Application
Id string - Id of the application to scope to. If empty then this scope applies to all applications.
- Environment
Filter stringType - Type of environment filter applied. Cannot be used with
environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - Environment
Id string - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type.
- Application
Id string - Id of the application to scope to. If empty then this scope applies to all applications.
- Environment
Filter stringType - Type of environment filter applied. Cannot be used with
environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - Environment
Id string - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type.
- application
Id String - Id of the application to scope to. If empty then this scope applies to all applications.
- environment
Filter StringType - Type of environment filter applied. Cannot be used with
environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment
Id String - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type.
- application
Id string - Id of the application to scope to. If empty then this scope applies to all applications.
- environment
Filter stringType - Type of environment filter applied. Cannot be used with
environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment
Id string - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type.
- application_
id str - Id of the application to scope to. If empty then this scope applies to all applications.
- environment_
filter_ strtype - Type of environment filter applied. Cannot be used with
environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment_
id str - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type.
- application
Id String - Id of the application to scope to. If empty then this scope applies to all applications.
- environment
Filter StringType - Type of environment filter applied. Cannot be used with
environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment
Id String - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
