create_secret
This method is called when the yaml file with credentials is not found. Each broker should implement a wizard to instruct users on how to create the necessary credentials.
Syntax
def create_secret(self) -> Dict[str, str]:
Returns
Returns a dictionary containing the necessary credentials.
Raises
- An
Exception
is raised if there is an error creating the secret.