route53

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package route53 implements a DNS provider for solving the DNS-01 challenge using route53 DNS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSProvider

type DNSProvider struct {
	// contains filtered or unexported fields
}

DNSProvider is an implementation of the acme.ChallengeProvider interface

func NewDNSProvider

func NewDNSProvider(awsAccessKey, awsSecretKey, awsRegionName string) (*DNSProvider, error)

NewDNSProvider returns a DNSProvider instance with a configured route53 client. Authentication is either done using the passed credentials or - when empty - falling back to the customary AWS credential mechanisms, including the file referenced by $AWS_CREDENTIAL_FILE (defaulting to $HOME/.aws/credentials) optionally scoped to $AWS_PROFILE, credentials supplied by the environment variables AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY [ + AWS_SECURITY_TOKEN ], and finally credentials available via the EC2 instance metadata service.

func (*DNSProvider) CleanUp

func (r *DNSProvider) CleanUp(domain, token, keyAuth string) error

CleanUp removes the TXT record matching the specified parameters

func (*DNSProvider) Present

func (r *DNSProvider) Present(domain, token, keyAuth string) error

Present creates a TXT record using the specified parameters

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL