certbotbot
Reference documentation for a modular Bash project
Loading...
Searching...
No Matches
Functions
register-config.bash File Reference

Resolves the explicit account registration CLI under ADR-041. More...

Functions

int certbotbot_register_usage ()
 Displays the separate registration command syntax.
 
int certbotbot_register_config (String arg)
 Validates consent, email, CA, S3 and encryption configuration.
 

Detailed Description

Resolves the explicit account registration CLI under ADR-041.

This parser is isolated from the ordinary issuer parser. It shares the literal nonexecuting .env reader and safe S3 filename renderer, but never treats a domain or certificate flag as authorization to register an account.

Function Documentation

◆ certbotbot_register_config()

int certbotbot_register_config ( String  arg)

Validates consent, email, CA, S3 and encryption configuration.

Values resolve CLI, exported environment, .env and default, in that order. The current S3 key and key-template are one mutually exclusive setting at each tier. Missing or false TOS blocks any registration or S3 request. EFF signup is true unless the operator explicitly chooses false.

Parameters
argRegistration-only option tokens.
STDIN
Nothing is read from STDIN.
STDOUT
Nothing is written to STDOUT.
STDERR
Static diagnostics only.
Return values
0All selected settings are usable.
64Invalid invocation or missing affirmative consent.

◆ certbotbot_register_usage()

int certbotbot_register_usage ( )

Displays the separate registration command syntax.

STDIN
Nothing is read from STDIN.
STDOUT
Registration usage and recognized flags.
Return values
0Usage was printed.