1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. transfer
  6. getHostKey

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi

    Resource type definition for AWS::Transfer::HostKey

    Using getHostKey

    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 getHostKey(args: GetHostKeyArgs, opts?: InvokeOptions): Promise<GetHostKeyResult>
    function getHostKeyOutput(args: GetHostKeyOutputArgs, opts?: InvokeOutputOptions): Output<GetHostKeyResult>
    def get_host_key(arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetHostKeyResult
    def get_host_key_output(arn: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetHostKeyResult]
    func LookupHostKey(ctx *Context, args *LookupHostKeyArgs, opts ...InvokeOption) (*LookupHostKeyResult, error)
    func LookupHostKeyOutput(ctx *Context, args *LookupHostKeyOutputArgs, opts ...InvokeOption) LookupHostKeyResultOutput

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

    public static class GetHostKey 
    {
        public static Task<GetHostKeyResult> InvokeAsync(GetHostKeyArgs args, InvokeOptions? opts = null)
        public static Output<GetHostKeyResult> Invoke(GetHostKeyInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetHostKeyResult> Invoke(GetHostKeyInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetHostKeyResult> getHostKey(GetHostKeyArgs args, InvokeOptions options)
    public static Output<GetHostKeyResult> getHostKey(GetHostKeyArgs args, InvokeOptions options)
    public static Output<GetHostKeyResult> getHostKey(GetHostKeyArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:transfer:getHostKey
      arguments:
        # arguments dictionary
    data "aws-native_transfer_get_host_key" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The unique Amazon Resource Name (ARN) for the host key.
    Arn string
    The unique Amazon Resource Name (ARN) for the host key.
    arn string
    The unique Amazon Resource Name (ARN) for the host key.
    arn String
    The unique Amazon Resource Name (ARN) for the host key.
    arn string
    The unique Amazon Resource Name (ARN) for the host key.
    arn str
    The unique Amazon Resource Name (ARN) for the host key.
    arn String
    The unique Amazon Resource Name (ARN) for the host key.

    getHostKey Result

    The following output properties are available:

    Arn string
    The unique Amazon Resource Name (ARN) for the host key.
    DateImported string
    The date on which the host key was added to the server.
    Description string
    The text description for this host key.
    HostKeyFingerprint string
    The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
    HostKeyId string
    A unique identifier for the host key.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Key-value pairs that can be used to group and search for host keys.
    Type string
    The encryption algorithm that is used for the host key.
    Arn string
    The unique Amazon Resource Name (ARN) for the host key.
    DateImported string
    The date on which the host key was added to the server.
    Description string
    The text description for this host key.
    HostKeyFingerprint string
    The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
    HostKeyId string
    A unique identifier for the host key.
    Tags Tag
    Key-value pairs that can be used to group and search for host keys.
    Type string
    The encryption algorithm that is used for the host key.
    arn string
    The unique Amazon Resource Name (ARN) for the host key.
    date_imported string
    The date on which the host key was added to the server.
    description string
    The text description for this host key.
    host_key_fingerprint string
    The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
    host_key_id string
    A unique identifier for the host key.
    tags list(object)
    Key-value pairs that can be used to group and search for host keys.
    type string
    The encryption algorithm that is used for the host key.
    arn String
    The unique Amazon Resource Name (ARN) for the host key.
    dateImported String
    The date on which the host key was added to the server.
    description String
    The text description for this host key.
    hostKeyFingerprint String
    The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
    hostKeyId String
    A unique identifier for the host key.
    tags List<Tag>
    Key-value pairs that can be used to group and search for host keys.
    type String
    The encryption algorithm that is used for the host key.
    arn string
    The unique Amazon Resource Name (ARN) for the host key.
    dateImported string
    The date on which the host key was added to the server.
    description string
    The text description for this host key.
    hostKeyFingerprint string
    The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
    hostKeyId string
    A unique identifier for the host key.
    tags Tag[]
    Key-value pairs that can be used to group and search for host keys.
    type string
    The encryption algorithm that is used for the host key.
    arn str
    The unique Amazon Resource Name (ARN) for the host key.
    date_imported str
    The date on which the host key was added to the server.
    description str
    The text description for this host key.
    host_key_fingerprint str
    The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
    host_key_id str
    A unique identifier for the host key.
    tags Sequence[root_Tag]
    Key-value pairs that can be used to group and search for host keys.
    type str
    The encryption algorithm that is used for the host key.
    arn String
    The unique Amazon Resource Name (ARN) for the host key.
    dateImported String
    The date on which the host key was added to the server.
    description String
    The text description for this host key.
    hostKeyFingerprint String
    The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
    hostKeyId String
    A unique identifier for the host key.
    tags List<Property Map>
    Key-value pairs that can be used to group and search for host keys.
    type String
    The encryption algorithm that is used for the host key.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.76.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial