In vitro, is able to catalyze the acetylation of beta-lysine to N6-acetyl-beta-lysine, an archaeal osmolyte produced by methanogenic archaea. Its physiological function has not yet been elucidated. (3S)-3,6-diaminohexanoate + acetyl-CoA = (3S)-6-acetamido-3-aminohexanoate + CoA + H(+) Up-regulated during sporulation, under the control of the sigma-E transcription factor (SigE). Deletion of the genomic region encompassing the entire yodT-yodS-yodR-yodQ-yodP-kamA gene cluster has no noticeable effect on growth either in rich or minimal medium, does not affect sporulation, and does not cause osmotic sensitivity or influence the compatible solute pool of this soil bacterium. The use of YodP from B.subtilis for N6-acetyl-beta-lysine synthesis opens the bottleneck for the large-scale production of N6-acetyl-beta-lysine to investigate its properties as a compatible solute. N6-acetyl-beta-lysine is not synthesized by B.subtilis as part of its cellular defense against high salinity. Belongs to the acetyltransferase family.