KafkaCredentialsSpec
classView source ↗
class KafkaCredentialsSpec(user: str | Secret, password: str | Secret)
Bases: Credentials
Categories: credentials
Represents credentials consisting of a user and a password.
This class is used to manage and securely handle user and password credentials. It includes functionalities to set user and password details, convert them into a dictionary representation, and provide a string representation for debugging purposes.
Initialize the UserPasswordCredentials object.
Parameters
parameter
userstr | SecretThe user.
parameter
passwordstr | SecretThe password
Properties
property
passwordSecretThe password.
property
userSecretThe user.