1. Packages
  2. Fivetran Provider
  3. API Docs
  4. DestinationCertificates
fivetran 1.9.4 published on Monday, Aug 18, 2025 by fivetran

fivetran.DestinationCertificates

Explore with Pulumi AI

fivetran logo
fivetran 1.9.4 published on Monday, Aug 18, 2025 by fivetran

    This resource allows you to manage list of approved SSH fingerprints for a particular destination.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fivetran from "@pulumi/fivetran";
    
    const myDestinationApprovedCertificates = new fivetran.DestinationCertificates("myDestinationApprovedCertificates", {
        destinationId: fivetran_destination.my_destination.id,
        certificates: [
            {
                hash: "jhgfJfgrI6yy...",
                encodedCert: "encoded_cert",
            },
            {
                hash: "eUtPirI6yytWe...",
                encodedCert: "encoded_cert",
            },
        ],
    });
    
    import pulumi
    import pulumi_fivetran as fivetran
    
    my_destination_approved_certificates = fivetran.DestinationCertificates("myDestinationApprovedCertificates",
        destination_id=fivetran_destination["my_destination"]["id"],
        certificates=[
            {
                "hash": "jhgfJfgrI6yy...",
                "encoded_cert": "encoded_cert",
            },
            {
                "hash": "eUtPirI6yytWe...",
                "encoded_cert": "encoded_cert",
            },
        ])
    
    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.NewDestinationCertificates(ctx, "myDestinationApprovedCertificates", &fivetran.DestinationCertificatesArgs{
    			DestinationId: pulumi.Any(fivetran_destination.My_destination.Id),
    			Certificates: fivetran.DestinationCertificatesCertificateArray{
    				&fivetran.DestinationCertificatesCertificateArgs{
    					Hash:        pulumi.String("jhgfJfgrI6yy..."),
    					EncodedCert: pulumi.String("encoded_cert"),
    				},
    				&fivetran.DestinationCertificatesCertificateArgs{
    					Hash:        pulumi.String("eUtPirI6yytWe..."),
    					EncodedCert: pulumi.String("encoded_cert"),
    				},
    			},
    		})
    		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 myDestinationApprovedCertificates = new Fivetran.DestinationCertificates("myDestinationApprovedCertificates", new()
        {
            DestinationId = fivetran_destination.My_destination.Id,
            Certificates = new[]
            {
                new Fivetran.Inputs.DestinationCertificatesCertificateArgs
                {
                    Hash = "jhgfJfgrI6yy...",
                    EncodedCert = "encoded_cert",
                },
                new Fivetran.Inputs.DestinationCertificatesCertificateArgs
                {
                    Hash = "eUtPirI6yytWe...",
                    EncodedCert = "encoded_cert",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fivetran.DestinationCertificates;
    import com.pulumi.fivetran.DestinationCertificatesArgs;
    import com.pulumi.fivetran.inputs.DestinationCertificatesCertificateArgs;
    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) {
            var myDestinationApprovedCertificates = new DestinationCertificates("myDestinationApprovedCertificates", DestinationCertificatesArgs.builder()
                .destinationId(fivetran_destination.my_destination().id())
                .certificates(            
                    DestinationCertificatesCertificateArgs.builder()
                        .hash("jhgfJfgrI6yy...")
                        .encodedCert("encoded_cert")
                        .build(),
                    DestinationCertificatesCertificateArgs.builder()
                        .hash("eUtPirI6yytWe...")
                        .encodedCert("encoded_cert")
                        .build())
                .build());
    
        }
    }
    
    resources:
      myDestinationApprovedCertificates:
        type: fivetran:DestinationCertificates
        properties:
          destinationId: ${fivetran_destination.my_destination.id}
          certificates:
            - hash: jhgfJfgrI6yy...
              encodedCert: encoded_cert
            - hash: eUtPirI6yytWe...
              encodedCert: encoded_cert
    

    Create DestinationCertificates Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DestinationCertificates(name: string, args: DestinationCertificatesArgs, opts?: CustomResourceOptions);
    @overload
    def DestinationCertificates(resource_name: str,
                                args: DestinationCertificatesArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def DestinationCertificates(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                destination_id: Optional[str] = None,
                                certificates: Optional[Sequence[DestinationCertificatesCertificateArgs]] = None)
    func NewDestinationCertificates(ctx *Context, name string, args DestinationCertificatesArgs, opts ...ResourceOption) (*DestinationCertificates, error)
    public DestinationCertificates(string name, DestinationCertificatesArgs args, CustomResourceOptions? opts = null)
    public DestinationCertificates(String name, DestinationCertificatesArgs args)
    public DestinationCertificates(String name, DestinationCertificatesArgs args, CustomResourceOptions options)
    
    type: fivetran:DestinationCertificates
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DestinationCertificatesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DestinationCertificatesArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DestinationCertificatesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DestinationCertificatesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DestinationCertificatesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var destinationCertificatesResource = new Fivetran.DestinationCertificates("destinationCertificatesResource", new()
    {
        DestinationId = "string",
        Certificates = new[]
        {
            new Fivetran.Inputs.DestinationCertificatesCertificateArgs
            {
                EncodedCert = "string",
                Hash = "string",
                Name = "string",
                PublicKey = "string",
                Sha1 = "string",
                Sha256 = "string",
                Type = "string",
                ValidatedBy = "string",
                ValidatedDate = "string",
            },
        },
    });
    
    example, err := fivetran.NewDestinationCertificates(ctx, "destinationCertificatesResource", &fivetran.DestinationCertificatesArgs{
    	DestinationId: pulumi.String("string"),
    	Certificates: fivetran.DestinationCertificatesCertificateArray{
    		&fivetran.DestinationCertificatesCertificateArgs{
    			EncodedCert:   pulumi.String("string"),
    			Hash:          pulumi.String("string"),
    			Name:          pulumi.String("string"),
    			PublicKey:     pulumi.String("string"),
    			Sha1:          pulumi.String("string"),
    			Sha256:        pulumi.String("string"),
    			Type:          pulumi.String("string"),
    			ValidatedBy:   pulumi.String("string"),
    			ValidatedDate: pulumi.String("string"),
    		},
    	},
    })
    
    var destinationCertificatesResource = new DestinationCertificates("destinationCertificatesResource", DestinationCertificatesArgs.builder()
        .destinationId("string")
        .certificates(DestinationCertificatesCertificateArgs.builder()
            .encodedCert("string")
            .hash("string")
            .name("string")
            .publicKey("string")
            .sha1("string")
            .sha256("string")
            .type("string")
            .validatedBy("string")
            .validatedDate("string")
            .build())
        .build());
    
    destination_certificates_resource = fivetran.DestinationCertificates("destinationCertificatesResource",
        destination_id="string",
        certificates=[{
            "encoded_cert": "string",
            "hash": "string",
            "name": "string",
            "public_key": "string",
            "sha1": "string",
            "sha256": "string",
            "type": "string",
            "validated_by": "string",
            "validated_date": "string",
        }])
    
    const destinationCertificatesResource = new fivetran.DestinationCertificates("destinationCertificatesResource", {
        destinationId: "string",
        certificates: [{
            encodedCert: "string",
            hash: "string",
            name: "string",
            publicKey: "string",
            sha1: "string",
            sha256: "string",
            type: "string",
            validatedBy: "string",
            validatedDate: "string",
        }],
    });
    
    type: fivetran:DestinationCertificates
    properties:
        certificates:
            - encodedCert: string
              hash: string
              name: string
              publicKey: string
              sha1: string
              sha256: string
              type: string
              validatedBy: string
              validatedDate: string
        destinationId: string
    

    DestinationCertificates Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DestinationCertificates resource accepts the following input properties:

    DestinationId string
    The unique identifier for the target destination within the Fivetran system.
    Certificates List<DestinationCertificatesCertificate>
    DestinationId string
    The unique identifier for the target destination within the Fivetran system.
    Certificates []DestinationCertificatesCertificateArgs
    destinationId String
    The unique identifier for the target destination within the Fivetran system.
    certificates List<DestinationCertificatesCertificate>
    destinationId string
    The unique identifier for the target destination within the Fivetran system.
    certificates DestinationCertificatesCertificate[]
    destination_id str
    The unique identifier for the target destination within the Fivetran system.
    certificates Sequence[DestinationCertificatesCertificateArgs]
    destinationId String
    The unique identifier for the target destination within the Fivetran system.
    certificates List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DestinationCertificates resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DestinationCertificates Resource

    Get an existing DestinationCertificates resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DestinationCertificatesState, opts?: CustomResourceOptions): DestinationCertificates
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificates: Optional[Sequence[DestinationCertificatesCertificateArgs]] = None,
            destination_id: Optional[str] = None) -> DestinationCertificates
    func GetDestinationCertificates(ctx *Context, name string, id IDInput, state *DestinationCertificatesState, opts ...ResourceOption) (*DestinationCertificates, error)
    public static DestinationCertificates Get(string name, Input<string> id, DestinationCertificatesState? state, CustomResourceOptions? opts = null)
    public static DestinationCertificates get(String name, Output<String> id, DestinationCertificatesState state, CustomResourceOptions options)
    resources:  _:    type: fivetran:DestinationCertificates    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Certificates List<DestinationCertificatesCertificate>
    DestinationId string
    The unique identifier for the target destination within the Fivetran system.
    Certificates []DestinationCertificatesCertificateArgs
    DestinationId string
    The unique identifier for the target destination within the Fivetran system.
    certificates List<DestinationCertificatesCertificate>
    destinationId String
    The unique identifier for the target destination within the Fivetran system.
    certificates DestinationCertificatesCertificate[]
    destinationId string
    The unique identifier for the target destination within the Fivetran system.
    certificates Sequence[DestinationCertificatesCertificateArgs]
    destination_id str
    The unique identifier for the target destination within the Fivetran system.
    certificates List<Property Map>
    destinationId String
    The unique identifier for the target destination within the Fivetran system.

    Supporting Types

    DestinationCertificatesCertificate, DestinationCertificatesCertificateArgs

    EncodedCert string
    Base64 encoded certificate.
    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.
    EncodedCert string
    Base64 encoded certificate.
    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.
    encodedCert String
    Base64 encoded certificate.
    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.
    encodedCert string
    Base64 encoded certificate.
    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.
    encoded_cert str
    Base64 encoded certificate.
    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.
    encodedCert String
    Base64 encoded certificate.
    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.

    Import

    1. To import an existing fivetran_destination_certificates resource into your Terraform state, you need to get Destination Group ID on the destination page in your Fivetran dashboard.

    2. To retrieve existing destinations, use the fivetran_destinations data source.

    3. Define an empty resource in your .tf configuration:

    hcl

    resource “fivetran_destination_certificates” “my_imported_destination_certificates” {

    }

    1. Run the pulumi import command:
    $ pulumi import fivetran:index/destinationCertificates:DestinationCertificates my_imported_destination_certificates {your Destination Group ID}
    
    1. Use the terraform state show command to get the values from the state:

    terraform state show ‘fivetran_destination_certificates.my_imported_destination_certificates’

    1. Copy the values and paste them to your .tf configuration.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fivetran fivetran/terraform-provider-fivetran
    License
    Notes
    This Pulumi package is based on the fivetran Terraform Provider.
    fivetran logo
    fivetran 1.9.4 published on Monday, Aug 18, 2025 by fivetran