About gvmd command to add a scanner

Seeing this command to add a scanner, I am curious about how gvmd generates credentials. After looking at the source code, it seems that I have not found the key reason.