Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs
harness.getEncryptedText
Explore with Pulumi AI
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
- Usage
Scopes List<Lbrlabs.Pulumi Package. Harness. Inputs. Get Encrypted Text Usage Scope> - 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
- Usage
Scopes []GetEncrypted Text Usage Scope - 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
- usage
Scopes List<GetEncrypted Text Usage Scope> - 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
- usage
Scopes GetEncrypted Text Usage Scope[] - 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[GetEncrypted Text Usage Scope] - 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
- usage
Scopes 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:
- Secret
Manager stringId - The id of the associated secret manager
- Id string
- Unique identifier of the encrypted secret
- Name string
- The name of the encrypted secret
- Usage
Scopes List<Lbrlabs.Pulumi Package. Harness. Outputs. Get Encrypted Text Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- Secret
Manager stringId - The id of the associated secret manager
- Id string
- Unique identifier of the encrypted secret
- Name string
- The name of the encrypted secret
- Usage
Scopes []GetEncrypted Text Usage Scope - This block is used for scoping the resource to a specific set of applications or environments.
- secret
Manager StringId - The id of the associated secret manager
- id String
- Unique identifier of the encrypted secret
- name String
- The name of the encrypted secret
- usage
Scopes List<GetEncrypted Text Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- secret
Manager stringId - The id of the associated secret manager
- id string
- Unique identifier of the encrypted secret
- name string
- The name of the encrypted secret
- usage
Scopes GetEncrypted Text Usage Scope[] - This block is used for scoping the resource to a specific set of applications or environments.
- secret_
manager_ strid - 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[GetEncrypted Text Usage Scope] - This block is used for scoping the resource to a specific set of applications or environments.
- secret
Manager StringId - The id of the associated secret manager
- id String
- Unique identifier of the encrypted secret
- name String
- The name of the encrypted secret
- usage
Scopes List<Property Map> - This block is used for scoping the resource to a specific set of applications or environments.
Supporting Types
GetEncryptedTextUsageScope
- 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 lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.