public static void createCache(CredentialCache cache, Collection<String> mechanisms) {
        for (String mechanism : ScramMechanism.mechanismNames()) {
            if (mechanisms.contains(mechanism))
                cache.createCache(mechanism, ScramCredential.class);
        }
    }
SCRAM Credential persistence utility functions. Implements format conversion used
for the credential store implemented in Kafka. Credentials are persisted as a comma-separated
String of key-value pairs:
<pre>
  salt=<i>salt</i>,stored_key=<i>stored_key</i>,server_key=<i>server_key</i>,iterations=<i>iterations</i>
</pre>
clients/src/main/java/org/apache/kafka/common/security/scram/internals/ScramCredentialUtils.java