using BAM mediator cryptomanager