1. Packages
  2. Fivetran Provider
  3. API Docs
  4. getConnectionCertificates
fivetran 1.8.1 published on Wednesday, May 28, 2025 by fivetran

fivetran.getConnectionCertificates

Explore with Pulumi AI

fivetran logo
fivetran 1.8.1 published on Wednesday, May 28, 2025 by fivetran

    This data source returns a list of SSH fingerprints approved for specified connection.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fivetran from "@pulumi/fivetran";
    
    const connectionCertificates = fivetran.getConnectionCertificates({
        id: "connection_id",
    });
    
    import pulumi
    import pulumi_fivetran as fivetran
    
    connection_certificates = fivetran.get_connection_certificates(id="connection_id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fivetran.GetConnectionCertificates(ctx, &fivetran.GetConnectionCertificatesArgs{
    			Id: "connection_id",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fivetran = Pulumi.Fivetran;
    
    return await Deployment.RunAsync(() => 
    {
        var connectionCertificates = Fivetran.GetConnectionCertificates.Invoke(new()
        {
            Id = "connection_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fivetran.FivetranFunctions;
    import com.pulumi.fivetran.inputs.GetConnectionCertificatesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var connectionCertificates = FivetranFunctions.getConnectionCertificates(GetConnectionCertificatesArgs.builder()
                .id("connection_id")
                .build());
    
        }
    }
    
    variables:
      connectionCertificates:
        fn::invoke:
          function: fivetran:getConnectionCertificates
          arguments:
            id: connection_id
    

    Using getConnectionCertificates

    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 getConnectionCertificates(args: GetConnectionCertificatesArgs, opts?: InvokeOptions): Promise<GetConnectionCertificatesResult>
    function getConnectionCertificatesOutput(args: GetConnectionCertificatesOutputArgs, opts?: InvokeOptions): Output<GetConnectionCertificatesResult>
    def get_connection_certificates(certificates: Optional[Sequence[GetConnectionCertificatesCertificate]] = None,
                                    id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetConnectionCertificatesResult
    def get_connection_certificates_output(certificates: Optional[pulumi.Input[Sequence[pulumi.Input[GetConnectionCertificatesCertificateArgs]]]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetConnectionCertificatesResult]
    func GetConnectionCertificates(ctx *Context, args *GetConnectionCertificatesArgs, opts ...InvokeOption) (*GetConnectionCertificatesResult, error)
    func GetConnectionCertificatesOutput(ctx *Context, args *GetConnectionCertificatesOutputArgs, opts ...InvokeOption) GetConnectionCertificatesResultOutput

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

    public static class GetConnectionCertificates 
    {
        public static Task<GetConnectionCertificatesResult> InvokeAsync(GetConnectionCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectionCertificatesResult> Invoke(GetConnectionCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectionCertificatesResult> getConnectionCertificates(GetConnectionCertificatesArgs args, InvokeOptions options)
    public static Output<GetConnectionCertificatesResult> getConnectionCertificates(GetConnectionCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: fivetran:index/getConnectionCertificates:getConnectionCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier for the target connection within the Fivetran system.
    Certificates List<GetConnectionCertificatesCertificate>
    Id string
    The unique identifier for the target connection within the Fivetran system.
    Certificates []GetConnectionCertificatesCertificate
    id String
    The unique identifier for the target connection within the Fivetran system.
    certificates List<GetConnectionCertificatesCertificate>
    id string
    The unique identifier for the target connection within the Fivetran system.
    certificates GetConnectionCertificatesCertificate[]
    id str
    The unique identifier for the target connection within the Fivetran system.
    certificates Sequence[GetConnectionCertificatesCertificate]
    id String
    The unique identifier for the target connection within the Fivetran system.
    certificates List<Property Map>

    getConnectionCertificates Result

    The following output properties are available:

    Id string
    The unique identifier for the target connection within the Fivetran system.
    Certificates List<GetConnectionCertificatesCertificate>
    Id string
    The unique identifier for the target connection within the Fivetran system.
    Certificates []GetConnectionCertificatesCertificate
    id String
    The unique identifier for the target connection within the Fivetran system.
    certificates List<GetConnectionCertificatesCertificate>
    id string
    The unique identifier for the target connection within the Fivetran system.
    certificates GetConnectionCertificatesCertificate[]
    id str
    The unique identifier for the target connection within the Fivetran system.
    certificates Sequence[GetConnectionCertificatesCertificate]
    id String
    The unique identifier for the target connection within the Fivetran system.
    certificates List<Property Map>

    Supporting Types

    GetConnectionCertificatesCertificate

    Hash string
    Hash of the certificate.
    Name string
    Certificate name.
    PublicKey string
    The SSH public key.
    Sha1 string
    Certificate sha1.
    Sha256 string
    Certificate sha256.
    Type string
    Type of the certificate.
    ValidatedBy string
    User name who validated the certificate.
    ValidatedDate string
    The date when certificate was approved.
    Hash string
    Hash of the certificate.
    Name string
    Certificate name.
    PublicKey string
    The SSH public key.
    Sha1 string
    Certificate sha1.
    Sha256 string
    Certificate sha256.
    Type string
    Type of the certificate.
    ValidatedBy string
    User name who validated the certificate.
    ValidatedDate string
    The date when certificate was approved.
    hash String
    Hash of the certificate.
    name String
    Certificate name.
    publicKey String
    The SSH public key.
    sha1 String
    Certificate sha1.
    sha256 String
    Certificate sha256.
    type String
    Type of the certificate.
    validatedBy String
    User name who validated the certificate.
    validatedDate String
    The date when certificate was approved.
    hash string
    Hash of the certificate.
    name string
    Certificate name.
    publicKey string
    The SSH public key.
    sha1 string
    Certificate sha1.
    sha256 string
    Certificate sha256.
    type string
    Type of the certificate.
    validatedBy string
    User name who validated the certificate.
    validatedDate string
    The date when certificate was approved.
    hash str
    Hash of the certificate.
    name str
    Certificate name.
    public_key str
    The SSH public key.
    sha1 str
    Certificate sha1.
    sha256 str
    Certificate sha256.
    type str
    Type of the certificate.
    validated_by str
    User name who validated the certificate.
    validated_date str
    The date when certificate was approved.
    hash String
    Hash of the certificate.
    name String
    Certificate name.
    publicKey String
    The SSH public key.
    sha1 String
    Certificate sha1.
    sha256 String
    Certificate sha256.
    type String
    Type of the certificate.
    validatedBy String
    User name who validated the certificate.
    validatedDate String
    The date when certificate was approved.

    Package Details

    Repository
    fivetran fivetran/terraform-provider-fivetran
    License
    Notes
    This Pulumi package is based on the fivetran Terraform Provider.
    fivetran logo
    fivetran 1.8.1 published on Wednesday, May 28, 2025 by fivetran