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

harness.getEncryptedText

Explore with Pulumi AI

harness logo
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

    Data source for retrieving a Harness application

    Using getEncryptedText

    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 getEncryptedText(args: GetEncryptedTextArgs, opts?: InvokeOptions): Promise<GetEncryptedTextResult>
    function getEncryptedTextOutput(args: GetEncryptedTextOutputArgs, opts?: InvokeOptions): Output<GetEncryptedTextResult>
    def get_encrypted_text(id: Optional[str] = None,
                           name: Optional[str] = None,
                           usage_scopes: Optional[Sequence[GetEncryptedTextUsageScope]] = None,
                           opts: Optional[InvokeOptions] = None) -> GetEncryptedTextResult
    def get_encrypted_text_output(id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           usage_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[GetEncryptedTextUsageScopeArgs]]]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetEncryptedTextResult]
    func LookupEncryptedText(ctx *Context, args *LookupEncryptedTextArgs, opts ...InvokeOption) (*LookupEncryptedTextResult, error)
    func LookupEncryptedTextOutput(ctx *Context, args *LookupEncryptedTextOutputArgs, opts ...InvokeOption) LookupEncryptedTextResultOutput

    > Note: This function is named LookupEncryptedText in the Go SDK.

    public static class GetEncryptedText 
    {
        public static Task<GetEncryptedTextResult> InvokeAsync(GetEncryptedTextArgs args, InvokeOptions? opts = null)
        public static Output<GetEncryptedTextResult> Invoke(GetEncryptedTextInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEncryptedTextResult> getEncryptedText(GetEncryptedTextArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:index/getEncryptedText:getEncryptedText
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Unique identifier of the encrypted secret
    Name string
    The name of the encrypted secret
    UsageScopes List<GetEncryptedTextUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    Id string
    Unique identifier of the encrypted secret
    Name string
    The name of the encrypted secret
    UsageScopes []GetEncryptedTextUsageScope
    This block is used for scoping the resource to a specific set of applications or environments.
    id String
    Unique identifier of the encrypted secret
    name String
    The name of the encrypted secret
    usageScopes List<GetEncryptedTextUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    id string
    Unique identifier of the encrypted secret
    name string
    The name of the encrypted secret
    usageScopes GetEncryptedTextUsageScope[]
    This block is used for scoping the resource to a specific set of applications or environments.
    id str
    Unique identifier of the encrypted secret
    name str
    The name of the encrypted secret
    usage_scopes Sequence[GetEncryptedTextUsageScope]
    This block is used for scoping the resource to a specific set of applications or environments.
    id String
    Unique identifier of the encrypted secret
    name String
    The name of the encrypted secret
    usageScopes List<Property Map>
    This block is used for scoping the resource to a specific set of applications or environments.

    getEncryptedText Result

    The following output properties are available:

    SecretManagerId string
    The id of the associated secret manager
    Id string
    Unique identifier of the encrypted secret
    Name string
    The name of the encrypted secret
    UsageScopes List<GetEncryptedTextUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    SecretManagerId string
    The id of the associated secret manager
    Id string
    Unique identifier of the encrypted secret
    Name string
    The name of the encrypted secret
    UsageScopes []GetEncryptedTextUsageScope
    This block is used for scoping the resource to a specific set of applications or environments.
    secretManagerId String
    The id of the associated secret manager
    id String
    Unique identifier of the encrypted secret
    name String
    The name of the encrypted secret
    usageScopes List<GetEncryptedTextUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    secretManagerId string
    The id of the associated secret manager
    id string
    Unique identifier of the encrypted secret
    name string
    The name of the encrypted secret
    usageScopes GetEncryptedTextUsageScope[]
    This block is used for scoping the resource to a specific set of applications or environments.
    secret_manager_id str
    The id of the associated secret manager
    id str
    Unique identifier of the encrypted secret
    name str
    The name of the encrypted secret
    usage_scopes Sequence[GetEncryptedTextUsageScope]
    This block is used for scoping the resource to a specific set of applications or environments.
    secretManagerId String
    The id of the associated secret manager
    id String
    Unique identifier of the encrypted secret
    name String
    The name of the encrypted secret
    usageScopes List<Property Map>
    This block is used for scoping the resource to a specific set of applications or environments.

    Supporting Types

    GetEncryptedTextUsageScope

    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