acumen/account
Account types for ACME.
An account represents your identity with the ACME server and is required for all certificate operations.
Types
An ACME account registered with the server.
pub type Account {
Account(
status: Status,
contacts: List(String),
orders_url: option.Option(url.Url),
terms_of_service_agreed: option.Option(Bool),
)
}
Constructors
-
Account( status: Status, contacts: List(String), orders_url: option.Option(url.Url), terms_of_service_agreed: option.Option(Bool), )Arguments
- status
-
Current account status.
- contacts
-
Contact URLs, typically
mailto:addresses. - orders_url
-
URL to list the account’s orders.
- terms_of_service_agreed
-
Whether the terms of service were agreed to.
External account binding credentials from the CA.
Some CAs (like Google, ZeroSSL) require you to link your ACME account to an existing account with them. They provide a key ID and MAC key that you use during registration.
pub type ExternalAccountBinding {
ExternalAccountBinding(key_id: String, mac_key: BitArray)
}
Constructors
-
ExternalAccountBinding(key_id: String, mac_key: BitArray)Arguments
- key_id
-
The key ID provided by the CA
- mac_key
-
The MAC key (decoded from base64url) for HMAC signing