pub struct TargetCreateLetsEncrypt {Show 15 fields
pub acme_challenge: Option<String>,
pub description: Option<String>,
pub dns_target_creds: Option<String>,
pub email: Option<String>,
pub gcp_project: Option<String>,
pub hosted_zone: Option<String>,
pub json: Option<bool>,
pub key: Option<String>,
pub lets_encrypt_url: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub resource_group: Option<String>,
pub timeout: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
TargetCreateLetsEncrypt : targetCreateLetsEncrypt is a command that creates a new Let’s Encrypt target
Fields§
§acme_challenge: Option<String>§description: Option<String>Description of the object
dns_target_creds: Option<String>Name of existing cloud target for DNS credentials. Required when acme-challenge=dns. Supported: AWS, Azure, GCP targets
email: Option<String>Email address for ACME account registration
gcp_project: Option<String>GCP Cloud DNS: Project ID. Optional - can be derived from service account
hosted_zone: Option<String>AWS Route53 hosted zone ID. Required when dns-target-creds points to AWS target
json: Option<bool>Set output format to JSON
key: Option<String>The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
lets_encrypt_url: Option<String>§max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringTarget name
resource_group: Option<String>Azure resource group name. Required when dns-target-creds points to Azure target
timeout: Option<String>§token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl TargetCreateLetsEncrypt
impl TargetCreateLetsEncrypt
Sourcepub fn new(name: String) -> TargetCreateLetsEncrypt
pub fn new(name: String) -> TargetCreateLetsEncrypt
targetCreateLetsEncrypt is a command that creates a new Let’s Encrypt target
Trait Implementations§
Source§impl Clone for TargetCreateLetsEncrypt
impl Clone for TargetCreateLetsEncrypt
Source§fn clone(&self) -> TargetCreateLetsEncrypt
fn clone(&self) -> TargetCreateLetsEncrypt
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TargetCreateLetsEncrypt
impl Debug for TargetCreateLetsEncrypt
Source§impl Default for TargetCreateLetsEncrypt
impl Default for TargetCreateLetsEncrypt
Source§fn default() -> TargetCreateLetsEncrypt
fn default() -> TargetCreateLetsEncrypt
Source§impl<'de> Deserialize<'de> for TargetCreateLetsEncrypt
impl<'de> Deserialize<'de> for TargetCreateLetsEncrypt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for TargetCreateLetsEncrypt
impl PartialEq for TargetCreateLetsEncrypt
Source§fn eq(&self, other: &TargetCreateLetsEncrypt) -> bool
fn eq(&self, other: &TargetCreateLetsEncrypt) -> bool
self and other values to be equal, and is used by ==.