TODOΒΆ
tasks/02_breakglass.yml:20-25hands the break-glass password tosemaphore user change-by-loginas the--passwordargument of acontainer execcall, so the value is part of the process argument list on the hosting node and in the container while the command runs, and of the command text of the task in a deploy log wheneverMASK_CREDENTIALS_IN_LOGSis off. Cause: the task builds the command line fromSEMAPHORE_ADMIN_PASSWORD. Options: use a stdin or environment route whensemaphore user change-by-login --helpoffers one; let a shell inside the container expand$SEMAPHORE_ADMIN_PASSWORD, whichtemplates/env.j2already sets there, which keeps the value out of the command text of the task but not out of the argument list of thesemaphoreprocess; or change the password throughPOST /api/users/<id>/passwordwith the JSON body fed on stdin.