Calculate the SHA256 HMAC for a PEM encoded CSR
- secret
- The secret key of the HMAC
- key_only
- Boolean, calculate the HMAC based on the public key instead of the full
CSR.
- config_path
- If secert is not set explicit, defines a config path to read the secret
from. Default is to look up <interface>.<servername>.hmac
- target_key
- context item to write the hmac to (hex formated)