Enable custom headers (ex Strict-Transport-Security) in listener?

I’m using the vault listener and for compliance, I need to add the Strict-Transport-Security header. Is there an easy way of doing this?

Not directly. I add those headers on the reverse-proxy that is in front of Vault.