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

fivetran.ConnectorCertificates

Explore with Pulumi AI

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

    This resource allows you to create, update, and delete connector certificates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fivetran from "@pulumi/fivetran";
    
    const certificate = new fivetran.ConnectorCertificates("certificate", {certificates: [
        {
            hash: "jhgfJfgrI6yy...",
            encodedCert: "encoded_cert",
        },
        {
            hash: "jhgfJfgrI6yy...",
            encodedCert: "encoded_cert",
        },
    ]}, {
        provider: fivetran_provider,
    });
    
    import pulumi
    import pulumi_fivetran as fivetran
    
    certificate = fivetran.ConnectorCertificates("certificate", certificates=[
        {
            "hash": "jhgfJfgrI6yy...",
            "encoded_cert": "encoded_cert",
        },
        {
            "hash": "jhgfJfgrI6yy...",
            "encoded_cert": "encoded_cert",
        },
    ],
    opts = pulumi.ResourceOptions(provider=fivetran_provider))
    
    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.NewConnectorCertificates(ctx, "certificate", &fivetran.ConnectorCertificatesArgs{
    			Certificates: fivetran.ConnectorCertificatesCertificateArray{
    				&fivetran.ConnectorCertificatesCertificateArgs{
    					Hash:        pulumi.String("jhgfJfgrI6yy..."),
    					EncodedCert: pulumi.String("encoded_cert"),
    				},
    				&fivetran.ConnectorCertificatesCertificateArgs{
    					Hash:        pulumi.String("jhgfJfgrI6yy..."),
    					EncodedCert: pulumi.String("encoded_cert"),
    				},
    			},
    		}, pulumi.Provider(fivetran_provider))
    		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 certificate = new Fivetran.ConnectorCertificates("certificate", new()
        {
            Certificates = new[]
            {
                new Fivetran.Inputs.ConnectorCertificatesCertificateArgs
                {
                    Hash = "jhgfJfgrI6yy...",
                    EncodedCert = "encoded_cert",
                },
                new Fivetran.Inputs.ConnectorCertificatesCertificateArgs
                {
                    Hash = "jhgfJfgrI6yy...",
                    EncodedCert = "encoded_cert",
                },
            },
        }, new CustomResourceOptions
        {
            Provider = fivetran_provider,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fivetran.ConnectorCertificates;
    import com.pulumi.fivetran.ConnectorCertificatesArgs;
    import com.pulumi.fivetran.inputs.ConnectorCertificatesCertificateArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 certificate = new ConnectorCertificates("certificate", ConnectorCertificatesArgs.builder()
                .certificates(            
                    ConnectorCertificatesCertificateArgs.builder()
                        .hash("jhgfJfgrI6yy...")
                        .encodedCert("encoded_cert")
                        .build(),
                    ConnectorCertificatesCertificateArgs.builder()
                        .hash("jhgfJfgrI6yy...")
                        .encodedCert("encoded_cert")
                        .build())
                .build(), CustomResourceOptions.builder()
                    .provider(fivetran_provider)
                    .build());
    
        }
    }
    
    resources:
      certificate:
        type: fivetran:ConnectorCertificates
        properties:
          certificates:
            - hash: jhgfJfgrI6yy...
              encodedCert: encoded_cert
            - hash: jhgfJfgrI6yy...
              encodedCert: encoded_cert
        options:
          provider: ${["fivetran-provider"]}
    

    Create ConnectorCertificates Resource

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

    Constructor syntax

    new ConnectorCertificates(name: string, args: ConnectorCertificatesArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectorCertificates(resource_name: str,
                              args: ConnectorCertificatesArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectorCertificates(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              connector_id: Optional[str] = None,
                              certificates: Optional[Sequence[ConnectorCertificatesCertificateArgs]] = None)
    func NewConnectorCertificates(ctx *Context, name string, args ConnectorCertificatesArgs, opts ...ResourceOption) (*ConnectorCertificates, error)
    public ConnectorCertificates(string name, ConnectorCertificatesArgs args, CustomResourceOptions? opts = null)
    public ConnectorCertificates(String name, ConnectorCertificatesArgs args)
    public ConnectorCertificates(String name, ConnectorCertificatesArgs args, CustomResourceOptions options)
    
    type: fivetran:ConnectorCertificates
    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 ConnectorCertificatesArgs
    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 ConnectorCertificatesArgs
    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 ConnectorCertificatesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectorCertificatesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectorCertificatesArgs
    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 connectorCertificatesResource = new Fivetran.ConnectorCertificates("connectorCertificatesResource", new()
    {
        ConnectorId = "string",
        Certificates = new[]
        {
            new Fivetran.Inputs.ConnectorCertificatesCertificateArgs
            {
                EncodedCert = "string",
                Hash = "string",
                Name = "string",
                PublicKey = "string",
                Sha1 = "string",
                Sha256 = "string",
                Type = "string",
                ValidatedBy = "string",
                ValidatedDate = "string",
            },
        },
    });
    
    example, err := fivetran.NewConnectorCertificates(ctx, "connectorCertificatesResource", &fivetran.ConnectorCertificatesArgs{
    	ConnectorId: pulumi.String("string"),
    	Certificates: fivetran.ConnectorCertificatesCertificateArray{
    		&fivetran.ConnectorCertificatesCertificateArgs{
    			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 connectorCertificatesResource = new ConnectorCertificates("connectorCertificatesResource", ConnectorCertificatesArgs.builder()
        .connectorId("string")
        .certificates(ConnectorCertificatesCertificateArgs.builder()
            .encodedCert("string")
            .hash("string")
            .name("string")
            .publicKey("string")
            .sha1("string")
            .sha256("string")
            .type("string")
            .validatedBy("string")
            .validatedDate("string")
            .build())
        .build());
    
    connector_certificates_resource = fivetran.ConnectorCertificates("connectorCertificatesResource",
        connector_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 connectorCertificatesResource = new fivetran.ConnectorCertificates("connectorCertificatesResource", {
        connectorId: "string",
        certificates: [{
            encodedCert: "string",
            hash: "string",
            name: "string",
            publicKey: "string",
            sha1: "string",
            sha256: "string",
            type: "string",
            validatedBy: "string",
            validatedDate: "string",
        }],
    });
    
    type: fivetran:ConnectorCertificates
    properties:
        certificates:
            - encodedCert: string
              hash: string
              name: string
              publicKey: string
              sha1: string
              sha256: string
              type: string
              validatedBy: string
              validatedDate: string
        connectorId: string
    

    ConnectorCertificates 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 ConnectorCertificates resource accepts the following input properties:

    ConnectorId string
    The unique identifier for the target connection within the Fivetran system.
    Certificates List<ConnectorCertificatesCertificate>
    ConnectorId string
    The unique identifier for the target connection within the Fivetran system.
    Certificates []ConnectorCertificatesCertificateArgs
    connectorId String
    The unique identifier for the target connection within the Fivetran system.
    certificates List<ConnectorCertificatesCertificate>
    connectorId string
    The unique identifier for the target connection within the Fivetran system.
    certificates ConnectorCertificatesCertificate[]
    connector_id str
    The unique identifier for the target connection within the Fivetran system.
    certificates Sequence[ConnectorCertificatesCertificateArgs]
    connectorId String
    The unique identifier for the target connection within the Fivetran system.
    certificates List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectorCertificates 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 ConnectorCertificates Resource

    Get an existing ConnectorCertificates 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?: ConnectorCertificatesState, opts?: CustomResourceOptions): ConnectorCertificates
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificates: Optional[Sequence[ConnectorCertificatesCertificateArgs]] = None,
            connector_id: Optional[str] = None) -> ConnectorCertificates
    func GetConnectorCertificates(ctx *Context, name string, id IDInput, state *ConnectorCertificatesState, opts ...ResourceOption) (*ConnectorCertificates, error)
    public static ConnectorCertificates Get(string name, Input<string> id, ConnectorCertificatesState? state, CustomResourceOptions? opts = null)
    public static ConnectorCertificates get(String name, Output<String> id, ConnectorCertificatesState state, CustomResourceOptions options)
    resources:  _:    type: fivetran:ConnectorCertificates    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<ConnectorCertificatesCertificate>
    ConnectorId string
    The unique identifier for the target connection within the Fivetran system.
    Certificates []ConnectorCertificatesCertificateArgs
    ConnectorId string
    The unique identifier for the target connection within the Fivetran system.
    certificates List<ConnectorCertificatesCertificate>
    connectorId String
    The unique identifier for the target connection within the Fivetran system.
    certificates ConnectorCertificatesCertificate[]
    connectorId string
    The unique identifier for the target connection within the Fivetran system.
    certificates Sequence[ConnectorCertificatesCertificateArgs]
    connector_id str
    The unique identifier for the target connection within the Fivetran system.
    certificates List<Property Map>
    connectorId String
    The unique identifier for the target connection within the Fivetran system.

    Supporting Types

    ConnectorCertificatesCertificate, ConnectorCertificatesCertificateArgs

    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_connector_certificates resource into your Terraform state, you need to get Fivetran Connector ID on the Setup tab of the connector page in your Fivetran dashboard.

    2. Retrieve all connectors in a particular group using the fivetran_connectors data source

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

    hcl

    resource “fivetran_connector_certificates” “my_imported_connector_fingerprints” {

    }

    1. Run the pulumi import command:
    $ pulumi import fivetran:index/connectorCertificates:ConnectorCertificates my_imported_connector_fingerprints {your Fivetran Connector ID}
    
    1. Use the terraform state show command to get the values from the state:

    terraform state show ‘fivetran_connector_certificates.my_imported_connector_fingerprints’

    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