harness.platform.getAwsKmsConnector
Datasource for looking up an AWS KMS connector.
Using getAwsKmsConnector
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 getAwsKmsConnector(args: GetAwsKmsConnectorArgs, opts?: InvokeOptions): Promise<GetAwsKmsConnectorResult>
function getAwsKmsConnectorOutput(args: GetAwsKmsConnectorOutputArgs, opts?: InvokeOptions): Output<GetAwsKmsConnectorResult>
def get_aws_kms_connector(identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAwsKmsConnectorResult
def get_aws_kms_connector_output(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[GetAwsKmsConnectorResult]
func LookupAwsKmsConnector(ctx *Context, args *LookupAwsKmsConnectorArgs, opts ...InvokeOption) (*LookupAwsKmsConnectorResult, error)
func LookupAwsKmsConnectorOutput(ctx *Context, args *LookupAwsKmsConnectorOutputArgs, opts ...InvokeOption) LookupAwsKmsConnectorResultOutput
> Note: This function is named LookupAwsKmsConnector
in the Go SDK.
public static class GetAwsKmsConnector
{
public static Task<GetAwsKmsConnectorResult> InvokeAsync(GetAwsKmsConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetAwsKmsConnectorResult> Invoke(GetAwsKmsConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAwsKmsConnectorResult> getAwsKmsConnector(GetAwsKmsConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getAwsKmsConnector:getAwsKmsConnector
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- identifier string
Unique identifier of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- identifier str
Unique identifier of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
getAwsKmsConnector Result
The following output properties are available:
- Arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- Credentials
List<Lbrlabs.
Pulumi Package. Harness. Platform. Outputs. Get Aws Kms Connector Credential> The credentials to use for connecting to aws.
- Delegate
Selectors List<string> Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Region string
The AWS region where the AWS Secret Manager is.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- Credentials
[]Get
Aws Kms Connector Credential The credentials to use for connecting to aws.
- Delegate
Selectors []string Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Region string
The AWS region where the AWS Secret Manager is.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- arn
Ref String A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
List<Get
Aws Kms Connector Credential> The credentials to use for connecting to aws.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- id String
The provider-assigned unique ID for this managed resource.
- region String
The AWS region where the AWS Secret Manager is.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Get
Aws Kms Connector Credential[] The credentials to use for connecting to aws.
- delegate
Selectors string[] Connect using only the delegates which have these tags.
- description string
Description of the resource.
- id string
The provider-assigned unique ID for this managed resource.
- region string
The AWS region where the AWS Secret Manager is.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier string
Unique identifier of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- arn_
ref str A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Sequence[Get
Aws Kms Connector Credential] The credentials to use for connecting to aws.
- delegate_
selectors Sequence[str] Connect using only the delegates which have these tags.
- description str
Description of the resource.
- id str
The provider-assigned unique ID for this managed resource.
- region str
The AWS region where the AWS Secret Manager is.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier str
Unique identifier of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- arn
Ref String A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials List<Property Map>
The credentials to use for connecting to aws.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- id String
The provider-assigned unique ID for this managed resource.
- region String
The AWS region where the AWS Secret Manager is.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
Supporting Types
GetAwsKmsConnectorCredential
GetAwsKmsConnectorCredentialAssumeRole
- Duration int
- External
Id string - Role
Arn string
- Duration int
- External
Id string - Role
Arn string
- duration Integer
- external
Id String - role
Arn String
- duration number
- external
Id string - role
Arn string
- duration int
- external_
id str - role_
arn str
- duration Number
- external
Id String - role
Arn String
GetAwsKmsConnectorCredentialManual
- Access
Key stringRef - Secret
Key stringRef
- Access
Key stringRef - Secret
Key stringRef
- access
Key StringRef - secret
Key StringRef
- access
Key stringRef - secret
Key stringRef
- access_
key_ strref - secret_
key_ strref
- access
Key StringRef - secret
Key StringRef
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.