def METHOD_NAME(self, secret_name, secret_namespace):
    secret_info = self.resource_info_manager.generate_secret_info(secret_name, secret_namespace)
    managed_secret_info, index = self.get_matching_managed_secret_info(secret_info)
    return managed_secret_info, index