You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add --choria-mcollective-certname flag for non-root cert identity
The choria-mcorpc-support library hardcodes the MCollective certname as
<username>.mcollective for non-root users. This prevents non-root users
from authenticating with a certificate that has a different CN (e.g. the
host's own Puppet certificate). The only existing override is the
MCOLLECTIVE_CERTNAME environment variable.
Add a --choria-mcollective-certname CLI flag (and corresponding
mcollective-certname transport option) that sets this env var
internally. This keeps all Choria configuration in the same CLI flag
layer and allows callers like smart_proxy_openbolt to pass the certname
as a regular transport option rather than managing process environment.
Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
| `mcollective-certname` | `--choria-mcollective-certname` | String | (auto) | Override the MCollective certname for Choria client identity. See [Non-root certname](#non-root-certname) below. |
98
99
| `nats-connection-timeout` | `--nats-connection-timeout` | Integer | `30` | Seconds to wait for the TCP connection to the NATS broker. |
99
100
| `nats-servers` | `--nats-servers` | String or Array | (from config file) | NATS broker addresses in `nats://host:port` format (comma-separated for multiple). Multiple servers provide failover if a broker is unavailable. Overrides the config file. |
0 commit comments