1. Packages
  2. Harness Provider
  3. API Docs
  4. getSecretManager
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

harness.getSecretManager

Explore with Pulumi AI

harness logo
Harness v0.4.4 published on Tuesday, Nov 12, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:index/getSecretManager:getSecretManager
      arguments:
        # arguments dictionary

    The 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
    UsageScopes List<GetSecretManagerUsageScope>
    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
    UsageScopes []GetSecretManagerUsageScope
    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
    usageScopes List<GetSecretManagerUsageScope>
    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
    usageScopes GetSecretManagerUsageScope[]
    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[GetSecretManagerUsageScope]
    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
    usageScopes 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
    UsageScopes List<GetSecretManagerUsageScope>
    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
    UsageScopes []GetSecretManagerUsageScope
    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
    usageScopes List<GetSecretManagerUsageScope>
    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
    usageScopes GetSecretManagerUsageScope[]
    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[GetSecretManagerUsageScope]
    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
    usageScopes List<Property Map>
    This block is used for scoping the resource to a specific set of applications or environments.

    Supporting Types

    GetSecretManagerUsageScope

    ApplicationId string
    Id of the application to scope to. If empty then this scope applies to all applications.
    EnvironmentFilterType string
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    EnvironmentId string
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    ApplicationId string
    Id of the application to scope to. If empty then this scope applies to all applications.
    EnvironmentFilterType string
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    EnvironmentId string
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    applicationId String
    Id of the application to scope to. If empty then this scope applies to all applications.
    environmentFilterType String
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    environmentId String
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    applicationId string
    Id of the application to scope to. If empty then this scope applies to all applications.
    environmentFilterType string
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    environmentId 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_type str
    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.
    applicationId String
    Id of the application to scope to. If empty then this scope applies to all applications.
    environmentFilterType String
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    environmentId 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 harness Terraform Provider.
    harness logo
    Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi