def getActiveKeyForAccount(self, name):
account = self.rpc.get_account(name)<EOL>for authority in account["<STR_LIT>"]["<STR_LIT>"]:<EOL><INDENT>try:<EOL><INDENT>return self.getPrivateKeyForPublicKey(authority[<NUM_LIT:0>])<EOL><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return False<EOL>
Obtain owner Active Key for an account from the wallet database