tls.dns.namecheap
Allows you to obtain certificates using DNS records for domains managed with NameCheap. Credentials must be passed either via environment variables, or directly in the Casketfile.
Instructions on how to obtain your NameCheap API key can be found here.
The provider is based on the libdns/namecheap module.
Environment Variables
NAMECHEAP_API_USER
- NameCheap usernameNAMECHEAP_API_KEY
- NameCheap API keyNAMECHEAP_API_SANDBOX
- (optional) Set totrue
to enable the sandbox environment
Syntax
Shorthand configuration syntax:
casketfile
Casket v1.4.0 Block configuration syntax:tls {
# If all the environment variables are set
dns namecheap
# If no environment variables are set
dns namecheap USER KEY
}
casketfile
tls {
dns namecheap {
username YOUR_USERNAME
api_key YOUR_API_KEY
# Specify to enable the sandbox environment
sandbox
}
}
- username is your NameCheap username.
- api_key is your NameCheap API key.
- sandbox is an optional parameter to enable the sandbox environment.