hamlet-io / executor-bash

Executor for hamlet based on bash
GNU General Public License v3.0
0 stars 4 forks source link

Remove cached credentials in hamlet profiles #253

Open ml019 opened 3 years ago

ml019 commented 3 years ago

Expected Behaviour

Any credentials copied into hamlet profiles during command executions should be deleted once the command completes

Current Behaviour

Credentials are left on disk in the .hamlet directory

Possible Solution

Extend the trap handler that currently cleans up the temp directory to also remove credentials

Context

Ensure minimal sensitive information is exposed when running hamlet