async def create_link_secret(self, link_secret: str) -> None:
LOGGER.debug('<STR_LIT>', link_secret)<EOL>try:<EOL><INDENT>await anoncreds.prover_create_master_secret(self.wallet.handle, link_secret)<EOL><DEDENT>except IndyError as x_indy:<EOL><INDENT>if x_indy.error_code == ErrorCode.AnoncredsMasterSecretDuplicateNameError:<EOL><INDENT>LOGGER.info('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>LOGGER.debug(<EOL>'<STR_LIT>',<EOL>self.wallet.name,<EOL>x_indy.error_code)<EOL>raise<EOL><DEDENT><DEDENT>self._link_secret = link_secret<EOL>LOGGER.debug('<STR_LIT>')<EOL>
Create link secret (a.k.a. master secret) used in proofs by HolderProver.

Raise any IndyError causing failure to set link secret in wallet.

:param link_secret: label for link secret; indy-sdk uses label to generate link secret