--- title: "Using a Configuration Parameter" slug: "using-a-configuration-parameter" updated: 2024-03-19T11:21:59Z published: 2024-03-19T11:21:59Z canonical: "docs.mapp.com/using-a-configuration-parameter" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Using a Configuration Parameter Alternatively to the configuration file, use the configuration parameter as follows: 1. Set the JAAS-configuration by using one of the Kafka properties **Example** ```plaintext props.setProperty(SaslConfigs.SASL_JAAS_CONFIG, "org.apache.kafka.common.security.scram.ScramLoginModule required username=\"myuser\" password=\"password\";"); ``` CODE 2. Substitute and by the credentials provided by Mapp. > [!WARNING] > The user and password are sensitive data, and therefore, we recommend not to keep them on the code but setting them up dynamically using environment variables.