public UserScramCredentialRecord toRecord(
        String userName,
        ScramMechanism mechanism
    ) {
        return new UserScramCredentialRecord().
                setName(userName).
                setMechanism(mechanism.type()).
                setSalt(salt).
                setStoredKey(storedKey).
                setServerKey(serverKey).
                setIterations(iterations);
    }
Represents the ACLs in the metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/metadata/ScramCredentialData.java